Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -2,15 +2,13 @@ FROM python:3.10-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
# Install dependencies first
|
| 6 |
COPY requirements.txt .
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
| 9 |
-
# Download and bake model into image at BUILD time
|
| 10 |
COPY download_model.py .
|
| 11 |
RUN python download_model.py
|
| 12 |
|
| 13 |
-
|
| 14 |
COPY app.py .
|
| 15 |
|
| 16 |
EXPOSE 7860
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
|
|
|
| 8 |
COPY download_model.py .
|
| 9 |
RUN python download_model.py
|
| 10 |
|
| 11 |
+
COPY utils/ ./utils/
|
| 12 |
COPY app.py .
|
| 13 |
|
| 14 |
EXPOSE 7860
|