Spaces:
Runtime error
Runtime error
File size: 288 Bytes
35598d2 ab597f1 e4cf227 e747d37 6c0a4b3 e4cf227 ab597f1 6c0a4b3 e747d37 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
FROM python:3.10-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
RUN chmod +x /app/setup.sh
EXPOSE 7860
# Run the script as part of the CMD
CMD ["/app/setup.sh", "&&", "uvicorn", "/app/main:app", "--host", "0.0.0.0", "--port", "7860"]
|