Aashiue's picture
Create Dockerfile
e1985c3 verified
raw
history blame contribute delete
358 Bytes
FROM python:3.9
# System packages needed for audio + nussl
RUN apt-get update && apt-get install -y \
ffmpeg \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy files
COPY . .
# Install Python packages
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Run app
CMD ["python", "app.py"]