Merge pull request #80 from luanshaotong/main

modify build dir of copilot_proxy
This commit is contained in:
Fred de Gier 2023-02-13 16:09:53 +01:00 committed by GitHub
commit 50901eb55d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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