mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Use serve for frontend production version
This commit is contained in:
+2
-3
@@ -1,13 +1,12 @@
|
||||
services:
|
||||
now-db-frontend:
|
||||
container_name: nowdb-frontend
|
||||
image: node:20-alpine3.16
|
||||
build:
|
||||
context: frontend/
|
||||
volumes:
|
||||
- ./frontend/:/usr/src/app
|
||||
ports:
|
||||
- 5173:5173
|
||||
command: >
|
||||
sh -c "cd /usr/src/app && npm ci && npm run build && npm start -- --host"
|
||||
now-db-backend:
|
||||
container_name: nowdb-backend
|
||||
image: node:20-alpine3.16
|
||||
|
||||
Reference in New Issue
Block a user