Browse Source

remove VOLUME and EXPOSE

see https://stackoverflow.com/a/52571354/1081818
Christian Winther 1 year ago
parent
commit
f2eb3df85f
1 changed files with 0 additions and 8 deletions
  1. 0 8
      contrib/docker/Dockerfile

+ 0 - 8
contrib/docker/Dockerfile

@@ -225,8 +225,6 @@ COPY contrib/docker/shared/root /
 
 ENTRYPOINT ["/docker/entrypoint.sh"]
 
-VOLUME /var/www/storage /var/www/bootstrap
-
 #######################################################
 # Runtime: apache
 #######################################################
@@ -241,8 +239,6 @@ RUN set -ex \
 
 CMD ["apache2-foreground"]
 
-EXPOSE 80
-
 #######################################################
 # Runtime: fpm
 #######################################################
@@ -253,8 +249,6 @@ COPY contrib/docker/fpm/root /
 
 CMD ["php-fpm"]
 
-EXPOSE 9000
-
 #######################################################
 # Runtime: nginx
 #######################################################
@@ -284,8 +278,6 @@ COPY --link --from=nginx-image /docker-entrypoint.d /docker/entrypoint.d/
 COPY contrib/docker/nginx/root /
 COPY contrib/docker/nginx/Procfile .
 
-EXPOSE 80
-
 STOPSIGNAL SIGQUIT
 
 CMD ["forego", "start", "-r"]