Xlnk commited on
Commit
12f5b50
·
verified ·
1 Parent(s): fe20378

Update Dockerfile

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