update requirement
This commit is contained in:
parent
6125862010
commit
830c76c07a
@ -39,7 +39,7 @@ ENV PATH="${PATH}:/root/.local/bin" \
|
|||||||
PIP_DEFAULT_TIMEOUT=100
|
PIP_DEFAULT_TIMEOUT=100
|
||||||
|
|
||||||
# copy project files
|
# copy project files
|
||||||
COPY --chown=root:root requirements.txt main.py /app/
|
COPY --chown=root:root requirements.txt main.py /app/ -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
RUN python -m pip install /app/
|
RUN python -m pip install /app/
|
||||||
|
@ -39,10 +39,10 @@ ENV PATH="${PATH}:/root/.local/bin" \
|
|||||||
PIP_DEFAULT_TIMEOUT=100
|
PIP_DEFAULT_TIMEOUT=100
|
||||||
|
|
||||||
# copy project files
|
# copy project files
|
||||||
COPY --chown=root:root pyproject.toml main.py /app/
|
COPY --chown=root:root requirements.txt main.py /app/
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
RUN python -m pip install /app/
|
RUN python -m pip install -r /app/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
|
||||||
# execute program
|
# execute program
|
||||||
CMD python /app/main.py
|
CMD python /app/main.py
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
faker>=21.0.0
|
faker>=21.0.0
|
||||||
pygithub>=2.1.1
|
|
||||||
requests>=2.31.0
|
requests>=2.31.0
|
||||||
py-gitea>=0.2.6
|
py-gitea>=0.2.6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user