Dockerize frontend development mode

This commit is contained in:
arttu
2024-02-21 22:36:33 +02:00
committed by Arttu Kangas
parent 6bac914f14
commit 51d40eee71
+10
View File
@@ -0,0 +1,10 @@
services:
now-db-frontend:
container_name: nowdb-frontend
image: node:20
volumes:
- ./frontend/:/usr/src/app
ports:
- 5173:5173
command: >
sh -c "cd /usr/src/app && npm ci && npm run dev -- --host"