silentcurrent / Dockerfile
GreenBeanzz7's picture
Update Dockerfile
0052fb4 verified
raw
history blame contribute delete
421 Bytes
# Use Python base image
FROM python:3.10
# Set working directory
WORKDIR /home/user/app
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
ffmpeg \
libsm6 \
libxext6 \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app files
COPY . .
# Run the app
CMD ["python", "app.py"]