Spaces:
Build error
Build error
File size: 314 Bytes
3439ac6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | FROM python:3.10
# Set working directory
WORKDIR /code
# Copy code
COPY ./app /code
# Install dependencies
RUN pip install --upgrade pip && \
pip install -r requirements.txt
# Expose port
EXPOSE 7860
# Start the FastAPI app using uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|