mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-13 16:04:05 +09:00
8 lines
251 B
Plaintext
8 lines
251 B
Plaintext
FROM python:3.10.10-alpine3.17
|
|
WORKDIR /work
|
|
|
|
RUN pip install "fastapi<1.0" "uvicorn<0.22" "lorem-text<=2.1.x"
|
|
COPY mocked_api/mock_api.py .
|
|
COPY mocked_api/models_response.json .
|
|
|
|
CMD ["uvicorn", "mock_api:app", "--host", "0.0.0.0", "--port", "5174"] |