1
0
mirror of https://github.com/wallabag/docker synced 2025-12-12 17:26:25 +00:00

Update Dockerfile

Sets the workdir to navigate to the wallabag folder when entering.

Makes it much easier to not have to always drill all the way down each time you first shell in.
This commit is contained in:
J. Scott Elblein
2023-06-28 12:27:54 -05:00
committed by GitHub
parent 62d1948e15
commit 659a8f4d3f

View File

@@ -74,6 +74,9 @@ RUN set -ex \
&& rm -rf /root/.composer/* /var/www/wallabag/var/cache/* /var/www/wallabag/var/logs/* /var/www/wallabag/var/sessions/* \
&& chown -R nobody:nobody /var/www/wallabag
# Set console entry path
WORKDIR /var/www/wallabag
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh"]
CMD ["wallabag"]