FROM python:3.10 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . RUN wget https://huggingface.co/datasets/API-Handler/openai-unoffical/resolve/main/api_handler.py RUN wget https://huggingface.co/datasets/API-Handler/openai-unoffical/resolve/main/main.py RUN wget https://huggingface.co/datasets/API-Handler/openai-unoffical/resolve/main/models.py RUN wget https://huggingface.co/datasets/API-Handler/openai-unoffical/resolve/main/requirements.txt CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]