Spaces:
Runtime error
Runtime error
FROM python:3.11 | |
WORKDIR /code | |
COPY ./req.txt /code/requirements.txt | |
RUN pip install --no-cache-dir -r /code/requirements.txt | |
COPY ./src /code/src | |
# Set the entry point for FastAPI (assumes the app is in takjadi.main.py and the instance is 'app') | |
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"] |