1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Update Dockerfile

This commit is contained in:
Patrik J. Braun 2019-12-15 09:44:33 +01:00 committed by GitHub
parent 4697dd221f
commit c1a3f68b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ WORKDIR /app
ENTRYPOINT ["npm", "start"]
EXPOSE 80
ENV NODE_ENV=production
COPY --from=qemu-builder /build/release /app
COPY --from=builder /build/release /app
RUN ln -s /app/data/config/config.json config.json
VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/TEMP"]
HEALTHCHECK --interval=30s --timeout=10s --retries=4 --start-period=60s \