marco.pms.web/docker-compose.yml

15 lines
370 B
YAML

services:
react:
image: node:18
container_name: react_app
working_dir: /app
volumes:
- ./react:/app
ports:
- "3000:3000"
environment:
- REACT_APP_API_URL=http://dotnet_api:5000
command: sh -c "git clone https://github.com/marcoioitsoft/marco.pms.web.git /app && npm install && npm start"
networks:
- dev_network