Spaces:
Running
Running
Commit
·
3240035
1
Parent(s):
47f697b
feat: add run script
Browse files- Dockerfile +1 -1
- run-script.sh +4 -0
Dockerfile
CHANGED
@@ -35,4 +35,4 @@ RUN pip3 install -r requirements.txt --break-system-packages
|
|
35 |
EXPOSE $PORT
|
36 |
|
37 |
# Command to run the application
|
38 |
-
CMD "
|
|
|
35 |
EXPOSE $PORT
|
36 |
|
37 |
# Command to run the application
|
38 |
+
CMD ["./run-script.sh"]
|
run-script.sh
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/sh
|
2 |
+
|
3 |
+
python models-server/server.py &
|
4 |
+
npm run start:dev
|