Skip to content

Commit

Permalink
fix: move pytz from global (alpine) to python venv
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsquest committed Sep 18, 2024
1 parent dfc1bfd commit 2c022ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ RUN apk add --no-cache --virtual=build-dependencies \
tzdata \
wget \
python3 \
py3-tz \
py3-pip \
&& python -m venv /venv \
&& /venv/bin/pip install --no-cache-dir radicale==$VERSION passlib[bcrypt] \
&& /venv/bin/pip install --no-cache-dir radicale==$VERSION passlib[bcrypt] pytz \
&& apk del --purge build-dependencies \
&& addgroup -g $BUILD_GID radicale \
&& adduser -D -s /bin/false -H -u $BUILD_UID -G radicale radicale \
Expand Down

0 comments on commit 2c022ff

Please sign in to comment.