mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-14 10:37:43 -07:00
modify build dir of copilot_proxy
This commit is contained in:
parent
82e769e5fe
commit
17ba576021
2 changed files with 4 additions and 4 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
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@ services:
|
|||
# command: python3 -m flask run --host=0.0.0.0 --port=5000
|
||||
# For local build
|
||||
build:
|
||||
context: .
|
||||
dockerfile: copilot_proxy/Dockerfile
|
||||
context: ./copilot_proxy
|
||||
dockerfile: Dockerfile
|
||||
command: uvicorn app:app --host 0.0.0.0 --port 5000
|
||||
env_file:
|
||||
# You can modify this env file to configure your proxy environment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue