moahmedwafy commited on
Commit
3240035
·
1 Parent(s): 47f697b

feat: add run script

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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 "python3 models-server/server.py & npm run start:dev"
 
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