Dockerfile -- remove unneeded VOLUME instructions

This commit is contained in:
Nick Reilingh 2021-09-11 16:40:09 -04:00 committed by GitHub
parent 14c6ead389
commit ef3c59152f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,11 +68,6 @@ RUN ln -s /etc/shlink/bin/cli /usr/local/bin/shlink
# Expose default swoole port # Expose default swoole port
EXPOSE 8080 EXPOSE 8080
# Expose params config dir, since the user is expected to provide custom config from there
#VOLUME /etc/shlink/config/params
# Expose data dir to allow persistent runtime data and SQLite db
#VOLUME /etc/shlink/data
# Copy config specific for the image # Copy config specific for the image
COPY docker/docker-entrypoint.sh docker-entrypoint.sh COPY docker/docker-entrypoint.sh docker-entrypoint.sh
COPY docker/config/shlink_in_docker.local.php config/autoload/shlink_in_docker.local.php COPY docker/config/shlink_in_docker.local.php config/autoload/shlink_in_docker.local.php