chatgpt-web/mocked_api/Dockerfile-mockapi

8 lines
251 B
Plaintext
Raw Normal View History

2023-03-24 22:44:14 +09:00
FROM python:3.10.10-alpine3.17
2023-03-24 01:50:41 +09:00
WORKDIR /work
2023-03-24 22:44:34 +09:00
RUN pip install "fastapi<1.0" "uvicorn<0.22" "lorem-text<=2.1.x"
2023-03-24 01:50:41 +09:00
COPY mocked_api/mock_api.py .
COPY mocked_api/models_response.json .
2023-03-24 17:20:41 +09:00
CMD ["uvicorn", "mock_api:app", "--host", "0.0.0.0", "--port", "5174"]