1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Dockerfile.build

This commit is contained in:
Patrik J. Braun 2019-12-22 22:52:47 +01:00
parent cec031d9ef
commit 5db8f0a94d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -20,7 +20,7 @@ ENTRYPOINT ["npm", "start"]
EXPOSE 80
ENV NODE_ENV=production
RUN apt-get update && apt-get install -y ffmpeg
COPY --from=builder /build /app
COPY --from=builder /app /app
RUN ln -s /app/data/config/config.json config.json
VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"]
HEALTHCHECK --interval=30s --timeout=10s --retries=4 --start-period=60s \