TRMT commited on
Commit
f37a491
·
1 Parent(s): 3c87885

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -13,11 +13,11 @@ COPY . /my_codes
13
  # Install any needed packages specified in requirements.txt
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
- #WORKDIR /app
17
 
18
  # Make port 80 available to the world outside this container
19
  EXPOSE 80
20
 
21
  # Run app.py when the container launches
22
  #CMD ["uvicorn", "main", "--host", "0.0.0.0", "--port", "80"]
23
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
 
13
  # Install any needed packages specified in requirements.txt
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
+ WORKDIR /app
17
 
18
  # Make port 80 available to the world outside this container
19
  EXPOSE 80
20
 
21
  # Run app.py when the container launches
22
  #CMD ["uvicorn", "main", "--host", "0.0.0.0", "--port", "80"]
23
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]