ikoghoemmanuell
commited on
Commit
•
361c00b
1
Parent(s):
eedb1d9
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -4,12 +4,15 @@ FROM python:3.9
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /code
|
6 |
|
7 |
-
#
|
8 |
-
COPY
|
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
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /code
|
6 |
|
7 |
+
# Copy requirements.txt file
|
8 |
+
COPY requirements.txt .
|
9 |
|
10 |
# Install the Python dependencies
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
+
# copy all the files in the app folder
|
14 |
+
COPY app/ .
|
15 |
+
|
16 |
EXPOSE 7860
|
17 |
|
18 |
# Start the FastAPI app with Uvicorn when the container starts
|