Spaces:
Sleeping
Sleeping
File size: 497 Bytes
8c55f10 5aba524 09ad41d 8c55f10 09ad41d 8c55f10 3159dc8 8c55f10 3159dc8 8c55f10 09ad41d 8c55f10 09ad41d 8c55f10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Use a Python 3.11 base image
FROM python:3.11
# Set the working directory inside the container
WORKDIR /code
# Copy the requirements file into the container
COPY requirements.txt /code/requirements.txt
# Install the required dependencies
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Copy the entire application directory into the container
COPY . /code
# Expose port 7860
EXPOSE 7860
# Define the command to run your application (without Uvicorn)
CMD ["python", "app.py"] |