update dockerfile
This commit is contained in:
parent
1d9eeae447
commit
ad3a3b38e6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user