Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -4,6 +4,7 @@ FROM python:3.9-slim
|
|
| 4 |
# Install system dependencies
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
libgl1 \
|
|
|
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
# Set the working directory in the container
|
|
@@ -22,4 +23,4 @@ COPY . .
|
|
| 22 |
EXPOSE 8000
|
| 23 |
|
| 24 |
# Command to run the FastAPI app using Uvicorn
|
| 25 |
-
CMD ["uvicorn", "deforestation_percenatge_image_api:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 4 |
# Install system dependencies
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
libgl1 \
|
| 7 |
+
libglib2.0-0 \
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Set the working directory in the container
|
|
|
|
| 23 |
EXPOSE 8000
|
| 24 |
|
| 25 |
# Command to run the FastAPI app using Uvicorn
|
| 26 |
+
CMD ["uvicorn", "deforestation_percenatge_image_api:app", "--host", "0.0.0.0", "--port", "8
|