Spaces:
Configuration error
Configuration error
File size: 415 Bytes
17efdaa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# 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"]
|