moahmedwafy commited on
Commit
141259e
·
1 Parent(s): 9ea5a36

update: dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,7 +20,7 @@ COPY . .
20
  RUN rm -f -- .env
21
 
22
  # Build the TypeScript code
23
- RUN npm run build
24
 
25
  # Set the PORT environment variable
26
  ENV PORT=7860
@@ -35,4 +35,4 @@ RUN pip3 install -r requirements.txt
35
  EXPOSE $PORT
36
 
37
  # Command to run the application
38
- CMD "python3 models-server/server.py & node dist/index.js"
 
20
  RUN rm -f -- .env
21
 
22
  # Build the TypeScript code
23
+ #RUN npm run build
24
 
25
  # Set the PORT environment variable
26
  ENV PORT=7860
 
35
  EXPOSE $PORT
36
 
37
  # Command to run the application
38
+ CMD "python3 models-server/server.py & npm run start:dev"