Voicebot / Dockerfile
dschandra's picture
Create Dockerfile
3a8f661 verified
raw
history blame
427 Bytes
# Base image with Python
FROM python:3.10-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
portaudio19-dev \
&& apt-get clean
# Set the working directory
WORKDIR /app
# Copy all files into the container
COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port for the app
EXPOSE 7860
# Command to run the app
CMD ["python", "app.py"]