Xlnk commited on
Commit
ec1604e
·
verified ·
1 Parent(s): 3292460

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -2,8 +2,14 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
- ENV GRADIO_SERVER_NAME=0.0.0.0
6
  ENV PYTHONUNBUFFERED=1
 
 
 
 
 
 
 
7
 
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
 
2
 
3
  WORKDIR /app
4
 
 
5
  ENV PYTHONUNBUFFERED=1
6
+ ENV PORT=7860
7
+
8
+ # System deps for PIL + ONNX
9
+ RUN apt-get update && apt-get install -y \
10
+ libgl1 \
11
+ libglib2.0-0 \
12
+ && rm -rf /var/lib/apt/lists/*
13
 
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt