Spaces:
Paused
Paused
launch by sh
Browse files- Dockerfile +1 -1
- 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 ["
|
|
|
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
|