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.
 
 
 
 

32 lines
846 B

version: "3.7"
services:
react:
container_name: react
image: yutsuo/react
build:
context: .
args:
- HTTP_PROXY=http://192.168.128.1:3128
- HTTPS_PROXY=http://192.168.128.1:3128
- http_proxy=http://192.168.128.1:3128
- https_proxy=http://192.168.128.1:3128
environment:
- HTTP_PROXY=http://192.168.128.1:3128
- HTTPS_PROXY=http://192.168.128.1:3128
- http_proxy=http://192.168.128.1:3128
- https_proxy=http://192.168.128.1:3128
volumes:
- $PWD/src:/usr/src/app/src
- $PWD/public:/usr/src/app/public
ports:
- "4000:3000"
# - "9229:9229"
# command: ["echo",$PWD/src]
command: ["npm", "start"]
networks:
default:
ipam:
driver: default
config:
- subnet: 172.17.3.0/24