Spaces:
Runtime error
Runtime error
# Use Python base image | |
FROM python:3.10-slim | |
# Set work directory | |
WORKDIR /code | |
# Copy files | |
COPY . . | |
# Install dependencies | |
RUN pip install --upgrade pip && pip install -r requirements.txt | |
# Expose the Flask port | |
EXPOSE 7860 | |
# Run the app | |
CMD ["python", "app.py"] | |