Actualiser Dockerfile
This commit is contained in:
@@ -3,10 +3,11 @@ FROM python:3.12-slim
|
|||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y git
|
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 \
|
RUN git clone https://github.com/Linus2punkt0/bluesky-crossposter.git \
|
||||||
&& cd bluesky-crossposter \
|
&& cd bluesky-crossposter \
|
||||||
&& git checkout main \
|
&& git checkout $(cat bluesky_crossposter_latest.txt) \
|
||||||
&& git pull origin main
|
&& git reset --hard
|
||||||
# RUN git clone https://github.com/coissac/bluesky-crossposter.git
|
# RUN git clone https://github.com/coissac/bluesky-crossposter.git
|
||||||
RUN rm -f bluesky-crossposter/Dockerfile \
|
RUN rm -f bluesky-crossposter/Dockerfile \
|
||||||
bluesky-crossposter/docker-compose.yml \
|
bluesky-crossposter/docker-compose.yml \
|
||||||
|
|||||||
Reference in New Issue
Block a user