Files
blueskycrossposter/Dockerfile

18 lines
502 B
Docker
Raw Normal View History

2024-12-29 00:53:15 +01:00
# Use latest alpine-derived Python base image
2024-12-29 01:08:24 +01:00
FROM python:3.12-slim
2024-12-29 00:53:15 +01:00
2024-12-29 01:08:24 +01:00
RUN apt update
RUN apt install git
2024-12-29 00:53:15 +01:00
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 pip install --no-cache-dir -r requirements.txt
# Make sure run script is executable
RUN chmod +rxxx ./run.sh
CMD sh run.sh