Initial commit
This commit is contained in:
21
app/Dockerfile
Normal file
21
app/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM python:3.9-slim
|
||||
|
||||
# Installation der Bildverarbeitungs-Abhängigkeiten (Wichtig für Pillow)
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libjpeg-dev \
|
||||
zlib1g-dev \
|
||||
libfreetype6-dev \
|
||||
liblcms2-dev \
|
||||
libwebp-dev \
|
||||
tcl-dev \
|
||||
tk-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
Reference in New Issue
Block a user