mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
updating buildx docker
This commit is contained in:
parent
3afd254e29
commit
9cd5c76b5e
2
.github/workflows/blank.yml
vendored
2
.github/workflows/blank.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
|||||||
name: Run Buildx stretch
|
name: Run Buildx stretch
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64,linux/386,linux/arm/v6,linux/arm/v7 \
|
--platform linux/amd64, linux/arm64, linux/arm/v7 \
|
||||||
--output "type=image,push=true" \
|
--output "type=image,push=true" \
|
||||||
--tag bpatrik/pigallery2:nightly-stretch \
|
--tag bpatrik/pigallery2:nightly-stretch \
|
||||||
--file docker/debian-stretch/Dockerfile.build .
|
--file docker/debian-stretch/Dockerfile.build .
|
||||||
|
@ -21,6 +21,7 @@ ENTRYPOINT ["npm", "start"]
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
COPY --from=builder /build /app
|
COPY --from=builder /build /app
|
||||||
|
RUN apk add ffmpeg
|
||||||
RUN ln -s /app/data/config/config.json config.json
|
RUN ln -s /app/data/config/config.json config.json
|
||||||
VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"]
|
VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"]
|
||||||
HEALTHCHECK --interval=30s --timeout=10s --retries=4 --start-period=60s \
|
HEALTHCHECK --interval=30s --timeout=10s --retries=4 --start-period=60s \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user