MP3 / Dockerfile
TakakuwaLui's picture
Update Dockerfile
c1d7b9e verified
raw
history blame contribute delete
455 Bytes
# Use Python 3.10 base image
FROM python:3.10
# Set a working directory
WORKDIR /app
# Copy your app files
COPY . /app
# Install only necessary system dependencies (ffmpeg for audio processing)
RUN apt-get update && apt-get install -y \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Set default command to run your app
CMD ["python", "app.py"]