Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -10,8 +10,11 @@ COPY ./requirements.txt /app/requirements.txt
|
|
10 |
# Install the Python dependencies
|
11 |
RUN pip install -r /app/requirements.txt
|
12 |
|
13 |
-
# Copy
|
14 |
-
COPY . .
|
|
|
|
|
|
|
15 |
|
16 |
# Expose port 8000 for the FastAPI application
|
17 |
EXPOSE 8000
|
|
|
10 |
# Install the Python dependencies
|
11 |
RUN pip install -r /app/requirements.txt
|
12 |
|
13 |
+
# Copy your FastAPI application code into the container
|
14 |
+
COPY ./app.py /app/app.py
|
15 |
+
|
16 |
+
# Copy the model and key components into the container
|
17 |
+
COPY ./model_and_key_components.pkl /app/model_and_key_components.pkl
|
18 |
|
19 |
# Expose port 8000 for the FastAPI application
|
20 |
EXPOSE 8000
|