Actualiser Dockerfile
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m15s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m15s
This commit is contained in:
@@ -2,13 +2,19 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt update
|
||||
RUN apt install git
|
||||
RUN apt install -y git
|
||||
RUN git clone https://github.com/Linus2punkt0/bluesky-crossposter.git
|
||||
RUN rm -f bluesky-crossposter/Dockerfile \
|
||||
bluesky-crossposter/docker-compose.yml \
|
||||
bluesky-crossposter/env.example
|
||||
RUN mv bluesky-crossposter/* .
|
||||
RUN rm -rf bluesky-crossposter
|
||||
RUN apt-get clean
|
||||
RUN rm -rf /var/lib/apt/lists/* \
|
||||
/tmp/* \
|
||||
/var/tmp/* \
|
||||
/usr/share/doc/*
|
||||
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user