nexus-video-api / Dockerfile
webnowa's picture
Update Dockerfile
634c597 verified
Raw
History Blame Contribute Delete
409 Bytes
FROM python:3.10-slim
WORKDIR /app
# Instalacja zależności systemowych (jeśli potrzebne)
RUN apt-get update && apt-get install -y \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Kopiowanie plików
COPY . /app
# Instalacja zależności Pythona
RUN pip install --no-cache-dir -r requirements.txt
# Uruchomienie FastAPI przez Uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]