mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-21 05:44:09 -07:00
Merge pull request #80 from luanshaotong/main
modify build dir of copilot_proxy
This commit is contained in:
commit
50901eb55d
2 changed files with 3 additions and 2 deletions
|
@ -2,11 +2,11 @@ FROM python:3.10-slim-buster
|
|||
|
||||
WORKDIR /python-docker
|
||||
|
||||
COPY copilot_proxy/requirements.txt requirements.txt
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY copilot_proxy .
|
||||
COPY . .
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: copilot_proxy/Dockerfile
|
||||
command: uvicorn app:app --host 0.0.0.0 --port 5000
|
||||
env_file:
|
||||
# Automatically created via ./setup.sh
|
||||
- .env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue