sdy

update docker compose

......@@ -20,7 +20,7 @@ services:
ports:
- "5555:5555"
build:
context: back/prisma
context: ./back/prisma
dockerfile: Dockerfile
environment:
MYSQL_URL: ${MYSQL_URL}
......@@ -37,22 +37,22 @@ services:
ports:
- "4000:4000"
build:
context: back
context: ./back
dockerfile: Dockerfile
environment:
MYSQL_URL: ${MYSQL_URL}
FRONTEND_URL: ${FRONTEND_URL}
volumes:
- ./back:/app
- ./back/node_modules:/app/node_modules
- ./back/prisma:/app/prisma
- ./back:/usr/src/app
- ./back/node_modules:/usr/src/app/node_modules
- ./back/prisma:/usr/src/app/prisma
frontend:
container_name: frontend
ports:
- "3000:3000"
tty: "true"
build:
context: front
context: ./front
dockerfile: Dockerfile
command: npm start
environment:
......