This commit is contained in:
MangoPig 2025-12-28 15:38:01 +00:00
parent c2905c7f50
commit f4d583aab2

View File

@ -5,22 +5,18 @@ services:
context: ./frontend
target: development
ports:
- ${SERVER_FRONTEND_DEV_PORT}:4321
- ${SERVER_FRONTEND_DEV_PORT:?error}:4321
volumes:
- ./frontend:/app
- /app/node_modules
profiles:
- dev
env_file:
- ../.env
leafpig-lesson-site-frontend-prod:
container_name: leafpig-lesson-site-frontend-prod
build:
context: ./frontend
target: production
ports:
- ${SERVER_FRONTEND_PORT}:5000
- ${SERVER_FRONTEND_PORT:?error}:5000
profiles:
- prod
env_file:
- ../.env