update dockerfile

This commit is contained in:
sangge-rockpi 2024-01-20 00:43:13 +08:00
parent 1d9eeae447
commit ad3a3b38e6

View File

@ -42,7 +42,7 @@ ENV PATH="${PATH}:/root/.local/bin" \
COPY --chown=root:root pyproject.toml main.py /app/ COPY --chown=root:root pyproject.toml main.py /app/
# install dependencies # install dependencies
RUN python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple RUN python -m pip install /app/ -i https://pypi.tuna.tsinghua.edu.cn/simple
# execute program # execute program
CMD python /app/main.py CMD python /app/main.py