ffs
Build and Push Docker Images / build-and-push (push) Successful in 23s

This commit is contained in:
2026-08-14 19:50:49 +02:00
parent 22d537a41d
commit 23f073e460
2 changed files with 6 additions and 3 deletions
@@ -15,9 +15,9 @@ RUN apk add --no-cache bash ca-certificates tzdata python3 py3-pip \
ENV PATH="/opt/venv/bin:$PATH"
COPY --from=builder /go/bin/pia-wg-config /usr/local/bin/pia-wg-config
COPY rotate.py entrypoint.py /usr/local/bin/
COPY rotate.py entrypoint.py entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/rotate.py /usr/local/bin/entrypoint.py
RUN chmod +x /usr/local/bin/rotate.py /usr/local/bin/entrypoint.py /usr/local/bin/entrypoint.sh
ENV TZ=Europe/Brussels
ENV WG_CONFIG_PATH=/config/wireguard/wg0.conf
@@ -26,4 +26,4 @@ ENV GLUETUN_CONTAINER=m3u-filter-vpn
ENV ROTATE_CRON="0 3 * * *"
ENV REGION_SELECT=fastest
ENTRYPOINT ["/opt/venv/bin/python", "/usr/local/bin/entrypoint.py"]
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
@@ -0,0 +1,3 @@
#!/bin/sh
# Compat wrapper: older compose/Portainer configs still exec entrypoint.sh
exec /opt/venv/bin/python /usr/local/bin/entrypoint.py "$@"