erick.is/Dockerfile

10 lines
250 B
Docker

FROM alpine:latest
WORKDIR /app
COPY requirements.txt .
RUN apk update \
&& apk add python3 py3-pip lowdown \
&& python3 -m pip install -r requirements.txt --break-system-packages
COPY *.py ./
ENTRYPOINT [ "python3" ]
CMD [ "_generate.py" ]