rabietiji1's picture
Upload 8 files
c3f05ee verified
Raw History Blame Contribute Delete
480 Bytes
# Use official Python runtime as a parent image
FROM python:3.9
# Set the working directory in the container
WORKDIR /app
# Copy the requirements file into the container
COPY requirements.txt .
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code
COPY . .
# Expose port 7860 for Hugging Face Spaces
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]