erick.is/Dockerfile.gemini
Erick Ruiz de Chavez c875c07933 python-refactor (#1)
While writing a new article, I was having issues with Perl making the replacements (it was trying to execute fenced code blocks). After a little bit of research, trying to keep the original script, I decided to keep things simpler and rewrite the generator script with Python instead.

Reviewed-on: #1
2024-12-29 07:49:19 -05:00

8 lines
244 B
Text

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