You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-07-17 01:32:29 +02:00
installing ffmpeg with package manager for docker build
This commit is contained in:
@ -20,8 +20,8 @@ WORKDIR /app
|
||||
ENTRYPOINT ["npm", "start"]
|
||||
EXPOSE 80
|
||||
ENV NODE_ENV=production
|
||||
COPY --from=builder /build /app
|
||||
RUN apk add ffmpeg
|
||||
COPY --from=builder /build /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 \
|
||||
|
@ -19,6 +19,7 @@ WORKDIR /app
|
||||
ENTRYPOINT ["npm", "start"]
|
||||
EXPOSE 80
|
||||
ENV NODE_ENV=production
|
||||
RUN apt-get update && apt-get install -y ffmpeg
|
||||
COPY --from=builder /build /app
|
||||
RUN ln -s /app/data/config/config.json config.json
|
||||
VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"]
|
||||
|
Reference in New Issue
Block a user