You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
552 B

version: "3"
services:
client:
build:
context: ./client/
command: npm start
image: fcso_client
ports:
- "2500:2500"
env_file: ./server/.env
volumes:
- ./client:/usr/app
- /usr/app/node_modules
depends_on:
- server
server:
build:
context: ./server/
command: /usr/app/node_modules/.bin/nodemon app/server.js
image: fcso_server
ports:
- "4000:4000"
volumes:
- ./server:/usr/app
- /usr/app/node_modules
environment:
- NODE_ENV=development