restructure: all-in-one deploy dir — www/ for frontend, context: . for builds
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: ../backend
|
||||
dockerfile: ../deploy/Dockerfile
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: project-tracker-api
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -15,8 +15,8 @@ services:
|
||||
|
||||
nginx:
|
||||
build:
|
||||
context: ../frontend
|
||||
dockerfile: ../deploy/Dockerfile.nginx
|
||||
context: .
|
||||
dockerfile: Dockerfile.nginx
|
||||
container_name: project-tracker-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user