Add docker-compose.yml (#162)

This commit is contained in:
Eva 2025-01-07 04:43:29 +09:00 committed by GitHub
parent 3c70c697b0
commit e7db884d57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
services:
node_app:
image: node:18
platform: linux/amd64
working_dir: /app
volumes:
- ./:/app
- ./node_modules:/app/node_modules
- ./dist:/app/dist
command: ["sh", "-c", "npm install && npm run build"]