2024-05-06 20:19:18 +00:00
|
|
|
services:
|
|
|
|
api:
|
|
|
|
env_file:
|
2024-05-13 13:50:02 +00:00
|
|
|
- .env
|
2024-05-06 20:19:18 +00:00
|
|
|
build:
|
|
|
|
context: ./api
|
|
|
|
dockerfile: Dockerfile
|
2024-05-13 13:50:02 +00:00
|
|
|
target: final
|
2024-05-12 09:31:51 +00:00
|
|
|
|
|
|
|
frontend:
|
|
|
|
env_file:
|
2024-05-13 13:50:02 +00:00
|
|
|
- .env
|
2024-05-12 09:31:51 +00:00
|
|
|
build:
|
|
|
|
context: ./frontend
|
|
|
|
dockerfile: Dockerfile
|
2024-05-13 13:50:02 +00:00
|
|
|
target: final
|
|
|
|
args:
|
|
|
|
- VITE_API_ENDPOINT=${VITE_API_ENDPOINT}
|
2024-05-12 09:31:51 +00:00
|
|
|
ports:
|
|
|
|
- 5173:5173
|
|
|
|
volumes:
|
2024-05-13 13:50:02 +00:00
|
|
|
- ./frontend/nginx/nginx.conf:/etc/nginx/nginx.conf
|