Files
bluesky-crossposter/Dockerfile
2023-10-08 17:30:05 +02:00

17 lines
320 B
Docker

# Use latest alpine-derived Python base image
FROM python:3.11.6-alpine3.18
# 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