nakas's picture
Update Dockerfile
23efbbc verified
raw
history blame
311 Bytes
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy files
COPY requirements.txt /app/requirements.txt
COPY app.py /app/app.py
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Gradio default port
EXPOSE 7860
# Run the main application
CMD ["python", "app.py"]