zjowowen commited on
Commit
3493055
1 Parent(s): 32a00e4

minor change

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. run.sh +1 -0
Dockerfile CHANGED
@@ -63,4 +63,4 @@ EXPOSE 4173
63
  EXPOSE 5000
64
  EXPOSE 5002
65
 
66
- CMD /bin/bash -c "nginx -g 'daemon off;' & sh ./run.sh"
 
63
  EXPOSE 5000
64
  EXPOSE 5002
65
 
66
+ CMD sh ./run.sh
run.sh CHANGED
@@ -1,2 +1,3 @@
 
1
  cd ./DI-sheep/service && nohup python agent_app.py &
2
  cd ./DI-sheep/ui && npm run build && npm run preview
 
1
+ service nginx start
2
  cd ./DI-sheep/service && nohup python agent_app.py &
3
  cd ./DI-sheep/ui && npm run build && npm run preview