Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -5,13 +5,13 @@ FROM python:3.11.3-slim
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Copy your FastAPI application code into the container
|
| 8 |
-
COPY
|
| 9 |
|
| 10 |
# Copy the model and key components into the container
|
| 11 |
-
COPY ./model_and_key_components.pkl /app
|
| 12 |
|
| 13 |
# Copy the requirements.txt file into the container
|
| 14 |
-
COPY ./requirements.txt /app
|
| 15 |
|
| 16 |
# Install the Python dependencies
|
| 17 |
RUN pip install -r /app/requirements.txt
|
|
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Copy your FastAPI application code into the container
|
| 8 |
+
COPY .app.py /app/app.py
|
| 9 |
|
| 10 |
# Copy the model and key components into the container
|
| 11 |
+
COPY ./model_and_key_components.pkl /app/model_and_key_components.pkl
|
| 12 |
|
| 13 |
# Copy the requirements.txt file into the container
|
| 14 |
+
COPY ./requirements.txt /app/requirements.txt
|
| 15 |
|
| 16 |
# Install the Python dependencies
|
| 17 |
RUN pip install -r /app/requirements.txt
|