ikoghoemmanuell commited on
Commit
aee20fc
1 Parent(s): 8ea1efb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -3,15 +3,13 @@ FROM python:3.9
3
 
4
  # Set the working directory in the container
5
  WORKDIR /code
6
- # Copy the requirements.txt file to the container
7
- COPY app/requirements.txt /code/requirements.txt
8
-
9
- # Install the Python dependencies
10
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  # copy all the files in the app folder
13
  COPY app/ .
14
 
 
 
 
15
  EXPOSE 7860
16
 
17
  # Start the FastAPI app with Uvicorn when the container starts
 
3
 
4
  # Set the working directory in the container
5
  WORKDIR /code
 
 
 
 
 
6
 
7
  # copy all the files in the app folder
8
  COPY app/ .
9
 
10
+ # Install the Python dependencies
11
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
+
13
  EXPOSE 7860
14
 
15
  # Start the FastAPI app with Uvicorn when the container starts