Skip to content

Commit

Permalink
fix: gitea have problem with PyPI Simple Repository API
Browse files Browse the repository at this point in the history
  • Loading branch information
IceCodeNew committed May 26, 2024
1 parent e6b2c84 commit c72a57c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions saveweb/Dockerfile.chouti
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ RUN apk update \
USER nonroot:nonroot
WORKDIR /home/nonroot/
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ARG chouti_url="https://git.saveweb.org/api/packages/saveweb/pypi/files/chouti/1.0.3/chouti-1.0.3-py3-none-any.whl#sha256-88f4b4555bc6d4a73b33db1d77548277868db26d41a5981454fd0209164d803e"
RUN source /home/nonroot/.cargo/env \
&& uv venv \
&& source /home/nonroot/.venv/bin/activate \
&& uv pip --no-cache-dir install --upgrade \
--extra-index-url https://git.saveweb.org/api/packages/saveweb/pypi/simple \
chouti
"$chouti_url"

RUN echo 'source /home/nonroot/.cargo/env' > /home/nonroot/.bashrc \
&& echo 'source /home/nonroot/.venv/bin/activate' >> /home/nonroot/.bashrc \
Expand Down

0 comments on commit c72a57c

Please sign in to comment.