Spaces:
Running
Running
FROM python:3.9-slim | |
# Set the working directory to /app | |
WORKDIR /app | |
# Copy the requirements file | |
COPY requirements.txt . | |
# Install the dependencies | |
RUN pip install -r requirements.txt | |
# Copy the application code | |
COPY . . | |
# Expose the port | |
EXPOSE 8000 | |
# Run the command to start the development server | |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] |