commit
007255b319
|
@ -82,7 +82,7 @@ RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ] || [ "${TARGETPLATFORM}" = "linux
|
||||||
apt-get install -y darktable; fi
|
apt-get install -y darktable; fi
|
||||||
|
|
||||||
# Remove build dependencies and cleanup
|
# Remove build dependencies and cleanup
|
||||||
RUN apt-get purge -y curl gpg \
|
RUN apt-get purge -y gpg \
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
@ -98,4 +98,6 @@ ENV PHOTOVIEW_UI_PATH /ui
|
||||||
|
|
||||||
EXPOSE 80
|
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"]
|
ENTRYPOINT ["/app/photoview"]
|
||||||
|
|
Loading…
Reference in New Issue