zulfaaulia commited on
Commit
ddcd47d
·
verified ·
1 Parent(s): d462dbc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -8
Dockerfile CHANGED
@@ -1,17 +1,11 @@
1
- FROM python:3.10-slim
2
-
3
- # Install system dependencies for OpenCV
4
- RUN apt-get update && apt-get install -y \
5
- libgl1 \
6
- libglib2.0-0 \
7
- && rm -rf /var/lib/apt/lists/*
8
 
9
  WORKDIR /app
10
 
11
  COPY requirements.txt .
 
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  COPY . .
15
 
16
- EXPOSE 8080
17
  CMD ["gunicorn", "--bind", "0.0.0.0:8080", "app:app"]
 
1
+ FROM python:3.10
 
 
 
 
 
 
2
 
3
  WORKDIR /app
4
 
5
  COPY requirements.txt .
6
+
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  COPY . .
10
 
 
11
  CMD ["gunicorn", "--bind", "0.0.0.0:8080", "app:app"]