mirror of https://github.com/pixelfed/pixelfed.git
remove VOLUME and EXPOSE
see https://stackoverflow.com/a/52571354/1081818
This commit is contained in:
parent
5cfd8e15a9
commit
f2eb3df85f
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue