GaneshArihanth's picture
Upload 3 files
b9f622d verified
Raw
History Blame Contribute Delete
432 Bytes
FROM python:3.9
# Set the working directory to /code
WORKDIR /code
# Copy the requirements file into the container at /code
COPY ./requirements.txt /code/requirements.txt
# Install the dependencies
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy the rest of the application code
COPY . .
# Expose port 7860 (required by Hugging Face Spaces)
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]