define Docker

This commit is contained in:
cracklesparkle
2024-07-18 17:36:52 +09:00
parent cf3fda43e4
commit ca2d97f975
7 changed files with 89 additions and 3 deletions

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
services:
client:
container_name: client
build:
context: ./frontend_reactjs
dockerfile: Dockerfile
volumes:
- ./frontend_reactjs:/app
- /app/node_modules
ports:
- 5173:5173
restart: always