tavr_project / Dockerfile
fmegahed's picture
Create Dockerfile
cc2eb08 verified
raw
history blame
401 Bytes
FROM python:3.8-slim
# System dependencies
RUN apt-get update && apt-get install -y \
git \
ffmpeg \
libsm6 \
libxext6 \
libgl1-mesa-glx \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy your files
COPY . /app
# Install Python dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Run the app
CMD ["python", "app.py"]