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
663 B
28 lines
663 B
version: "3"
|
|
services:
|
|
client:
|
|
build:
|
|
context: ./client/
|
|
command: npm start
|
|
image: mamapats_client
|
|
ports:
|
|
- "3000:3000"
|
|
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: mamapats_server
|
|
ports:
|
|
- "4000:4000"
|
|
volumes:
|
|
- ./server:/usr/app
|
|
- /usr/app/node_modules
|
|
environment:
|
|
- NODE_ENV=development
|
|
|