mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Use Alpine image
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.10-slim-buster
|
FROM python:alpine
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
|
||||||
RUN pip install fastapi uvicorn lorem-text
|
RUN pip install fastapi uvicorn lorem-text
|
||||||
@@ -6,4 +6,3 @@ COPY mocked_api/mock_api.py .
|
|||||||
COPY mocked_api/models_response.json .
|
COPY mocked_api/models_response.json .
|
||||||
|
|
||||||
CMD ["uvicorn", "mock_api:app", "--host", "0.0.0.0", "--port", "5174"]
|
CMD ["uvicorn", "mock_api:app", "--host", "0.0.0.0", "--port", "5174"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user