From 7231eda2b62a91ac279bc96c8b9e593d983a1c96 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Thu, 1 May 2025 21:30:15 +0200 Subject: [PATCH] Actualiser Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8bc422..eef56c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \