Update Dockerfile

This commit is contained in:
fanyinrumeng 2024-09-02 01:17:12 +08:00 committed by GitHub
parent daa40ae8b8
commit 6cda41df6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,13 @@ WORKDIR /app/zhenxun
COPY . /app/zhenxun COPY . /app/zhenxun
RUN apt update && \
apt upgrade -y && \
apt install -y --no-install-recommends \
gcc \
g++ &&\
apt clean
RUN pip install poetry -i https://mirrors.aliyun.com/pypi/simple/ RUN pip install poetry -i https://mirrors.aliyun.com/pypi/simple/
RUN poetry install RUN poetry install