Update: build && server frontend
This commit is contained in:
parent
38098497a5
commit
db79c561c7
90 changed files with 6 additions and 6 deletions
|
|
@ -3,12 +3,12 @@ version: '3.8'
|
|||
services:
|
||||
frontend:
|
||||
container_name: frontend
|
||||
build: ./frontend
|
||||
build: .
|
||||
command: npm start
|
||||
ports:
|
||||
- "4200:4200"
|
||||
volumes:
|
||||
- ./frontend:/data/frontend
|
||||
- ./frontend/node_modules:/data/frontend/node_modules
|
||||
- ./src:/data/frontend
|
||||
- ./node_modules:/data/frontend/node_modules
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- NODE_ENV=production
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue