SharathReddy commited on
Commit
096835f
·
verified ·
1 Parent(s): 8289813

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -12,11 +12,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
 
13
  # Copy the rest of the application code into the container
14
  COPY ./app.py /code/app.py
15
- COPY ./.env /code/.env
16
 
17
- # Make port 8000 available to the world outside this container
18
- EXPOSE 8000
19
 
20
  # Run app.py when the container launches
21
- # Use --host 0.0.0.0 to make it accessible from outside the container
22
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
12
 
13
  # Copy the rest of the application code into the container
14
  COPY ./app.py /code/app.py
 
15
 
16
+ # Make port 7860 available to the world outside this container
17
+ EXPOSE 7860
18
 
19
  # Run app.py when the container launches
 
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]