hyzhou404 commited on
Commit
8078e7c
·
1 Parent(s): 81a7c62

launch by sh

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. launch.sh +7 -0
Dockerfile CHANGED
@@ -35,4 +35,4 @@ RUN ./.pixi/envs/default/bin/python3 -m pip install moviepy
35
 
36
  RUN ./.pixi/envs/default/bin/python /app/code/download_public_datas.py
37
 
38
- CMD ["./.pixi/envs/default/bin/python /app/code/download_private_datas.py && ./.pixi/envs/default/bin/python /app/code/web_server.py"]
 
35
 
36
  RUN ./.pixi/envs/default/bin/python /app/code/download_public_datas.py
37
 
38
+ CMD ["bash ./launch.sh"]
launch.sh ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ echo "Downloading private data"
4
+ pixi run python /app/code/download_private_datas.py
5
+
6
+ echo "Start the web server"
7
+ pixi run python /app/code/web_server.py