arsh1101 commited on
Commit
1780adf
·
verified ·
1 Parent(s): aacc9c6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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", "8000"]
 
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