1
Fork 0

Merge pull request #552 from elvece/patch-1

Update Dockerfile
This commit is contained in:
Viktor Strate Kløvedal 2021-10-02 16:58:43 +02:00 committed by GitHub
commit 007255b319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,7 @@ RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ] || [ "${TARGETPLATFORM}" = "linux
apt-get install -y darktable; fi
# Remove build dependencies and cleanup
RUN apt-get purge -y curl gpg \
RUN apt-get purge -y gpg \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@ -98,4 +98,6 @@ ENV PHOTOVIEW_UI_PATH /ui
EXPOSE 80
HEALTHCHECK --interval=60s --timeout=10s CMD curl --fail 'http://localhost:80/api/graphql' -X POST -H 'Content-Type: application/json' --data-raw '{"operationName":"CheckInitialSetup","variables":{},"query":"query CheckInitialSetup { siteInfo { initialSetup }}"}'
ENTRYPOINT ["/app/photoview"]