yogaApp / Dockerfile
Simrandhiman's picture
Update Dockerfile
57f3d48 verified
raw
history blame contribute delete
319 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system deps
RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 && rm -rf /var/lib/apt/lists/*
# Copy files
COPY app.py .
COPY requirements.txt .
# Install Python deps
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["python", "app.py"]