backendprocess / Dockerfile
sreepathi-ravikumar's picture
Update Dockerfile
22eb489 verified
raw
history blame
366 Bytes
FROM python:3.9-slim
WORKDIR /app
# Install required system packages
RUN apt-get update && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY app.py audio_generator.py ./
EXPOSE 7860
CMD ["python", "app.py"]