fix: docker images

This commit is contained in:
Paul Pan 2024-03-13 22:17:00 +08:00
parent 634476f46e
commit 11eb5c9916
Signed by: Paul
GPG Key ID: D639BDF5BA578AF4
2 changed files with 8 additions and 14 deletions

View File

@ -31,5 +31,5 @@ COPY --from=rootfs-run / /app/resource/runner/framework/rootfs/run
# nsjail
COPY --from=rootfs-full /woj/framework/scripts/nsjail /app/resource/runner/framework/scripts/nsjail
# reap zombies from containerd-shim
ENTRYPOINT ["/sbin/tini", "/app/docker-entrypoint.sh"]
# reap zombies
ENTRYPOINT ["/usr/bin/tini", "/app/docker-entrypoint.sh"]

View File

@ -18,15 +18,11 @@ services:
- STORAGE_BUCKET=woj
- DEVELOPMENT=true
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
storage:
condition: service_healthy
cache:
condition: service_healthy
db:
condition: service_healthy
- storage
- cache
- db
ports:
- "8000:8000"
@ -47,13 +43,11 @@ services:
- SETUP_CGROUP=true
volumes:
- runner:/app/resource/runner/user
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
storage:
condition: service_healthy
cache:
condition: service_healthy
- storage
- cache
- db
storage:
image: quay.io/minio/minio:latest