Files
bluesky-crossposter/Dockerfile
2024-07-19 14:17:19 +02:00

17 lines
309 B
Docker

# Use latest alpine-derived Python base image
FROM python:latest
# Move to app directory
# Install requirements
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy source to app directory
COPY . .
# Make sure run script is executable
RUN chmod +rxxx ./run.sh
CMD sh run.sh