update
This commit is contained in:
parent
d88d73af6c
commit
49b54bba43
@ -35,10 +35,11 @@ WORKDIR /app
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
COPY app app/
|
COPY app app/
|
||||||
COPY *.py ./
|
COPY *.py ./
|
||||||
|
COPY .env* ./
|
||||||
|
|
||||||
# 安装Python依赖
|
# 安装Python依赖
|
||||||
RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt \
|
RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt \
|
||||||
&& pip install -i https://mirrors.aliyun.com/pypi/simple/ uvicorn
|
&& pip install -i https://mirrors.aliyun.com/pypi/simple/ uvicorn python-multipart python-dotenv
|
||||||
|
|
||||||
# 暴露端口
|
# 暴露端口
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user