fix(FN-002): address Dockerfile build order, base images, .dockerignore, docs
This commit is contained in:
+6
-2
@@ -12,6 +12,12 @@ services:
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://localhost:8000/health')\""]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
volumes:
|
||||
- api-data:/data
|
||||
restart: unless-stopped
|
||||
@@ -22,8 +28,6 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "5173:80"
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
- api
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user