Spaces:
Configuration error
Configuration error
# Use a base image | |
FROM python:3.9 | |
# Set the working directory | |
WORKDIR /app | |
# Install system dependencies (if needed) | |
RUN apt-get update && apt-get install -y git | |
# Copy the files to the container | |
COPY . /app | |
# Install required Python packages | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Expose port (if using a web app) | |
EXPOSE 7860 | |
# Set the command to run the application | |
CMD ["python", "app.py"] | |