mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-21 05:44:09 -07:00
Reduce docker build context size
This commit is contained in:
parent
60674dbbd5
commit
6ac8d0b081
10 changed files with 60 additions and 354 deletions
|
@ -1,13 +0,0 @@
|
|||
FROM python:3.10-slim-buster
|
||||
|
||||
WORKDIR /python-docker
|
||||
|
||||
COPY copilot_proxy/requirements.txt requirements.txt
|
||||
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY copilot_proxy .
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["uvicorn", "--host", "0.0.0.0", "--port", "5000", "app:app"]
|
Loading…
Add table
Add a link
Reference in a new issue