Update Dockerfile

This commit is contained in:
2025-12-30 22:00:52 +01:00
committed by GitHub
parent 87e8d987dc
commit a219501e07

View File

@@ -2,6 +2,11 @@ FROM python:3.12-slim
WORKDIR /app WORKDIR /app
# ffprobe kommt aus ffmpeg
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \ RUN pip install --no-cache-dir \
fastapi \ fastapi \
uvicorn \ uvicorn \
@@ -13,5 +18,4 @@ COPY app.py /app/app.py
COPY static /app/static COPY static /app/static
EXPOSE 8080 EXPOSE 8080
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"] CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]