Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -4,8 +4,7 @@ FROM python:3.10-slim
|
|
| 4 |
# Set frontend to noninteractive to avoid prompts
|
| 5 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 6 |
|
| 7 |
-
# Install system dependencies needed
|
| 8 |
-
# This is still needed for the pre-built wheel to work
|
| 9 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 10 |
build-essential \
|
| 11 |
cmake \
|
|
@@ -35,4 +34,4 @@ EXPOSE 7860
|
|
| 35 |
|
| 36 |
# Command to run the application
|
| 37 |
# This starts app.py, which will THEN download the model on startup.
|
| 38 |
-
CMD ["python", "app.py"]
|
|
|
|
| 4 |
# Set frontend to noninteractive to avoid prompts
|
| 5 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 6 |
|
| 7 |
+
# Install system dependencies needed for the pre-built wheel to work
|
|
|
|
| 8 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 9 |
build-essential \
|
| 10 |
cmake \
|
|
|
|
| 34 |
|
| 35 |
# Command to run the application
|
| 36 |
# This starts app.py, which will THEN download the model on startup.
|
| 37 |
+
CMD ["python", "app.py"]
|