Astridkraft commited on
Commit
dfe9995
·
verified ·
1 Parent(s): 195c17c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,10 +1,7 @@
1
  FROM python:3.11-slim
2
- RUN apt-get update && apt-get install -y \
3
- libgl1 libglib2.0-0 && rm -rf /var/lib/apt/lists/*
4
  WORKDIR /app
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
  COPY . .
8
- # Ports für API (7860) und UI (7861) freigeben
9
- EXPOSE 7860 7861
10
- CMD ["python", "app.py"]
 
1
  FROM python:3.11-slim
2
+ RUN apt-get update && apt-get install -y libgl1 libglib2.0-0 && rm -rf /var/lib/apt/lists/*
 
3
  WORKDIR /app
4
  COPY requirements.txt .
5
  RUN pip install --no-cache-dir -r requirements.txt
6
  COPY . .
7
+ CMD ["python", "api.py"]