Actualiser Dockerfile
All checks were successful
Build and Push Docker Image / build (push) Successful in 20m56s
Check BlueSky Crossposter version / check-version (push) Successful in 18s

This commit is contained in:
2025-05-01 21:30:15 +02:00
parent b40a422214
commit 7231eda2b6

View File

@@ -3,10 +3,11 @@ FROM python:3.12-slim
RUN apt-get update
RUN apt-get install -y git
COPY bluesky_crossposter_latest.txt bluesky_crossposter_latest.txt
RUN git clone https://github.com/Linus2punkt0/bluesky-crossposter.git \
&& cd bluesky-crossposter \
&& git checkout main \
&& git pull origin main
&& git checkout $(cat bluesky_crossposter_latest.txt) \
&& git reset --hard
# RUN git clone https://github.com/coissac/bluesky-crossposter.git
RUN rm -f bluesky-crossposter/Dockerfile \
bluesky-crossposter/docker-compose.yml \