2024-10-02 00:27:46 +00:00
|
|
|
FROM python:3.12.7-alpine3.19
|
2020-02-17 22:06:25 +00:00
|
|
|
|
2024-01-20 11:34:55 +00:00
|
|
|
RUN apk update && \
|
|
|
|
apk upgrade && \
|
2024-01-20 11:38:00 +00:00
|
|
|
apk add --virtual .build-deps gcc python3-dev musl-dev linux-headers && \
|
2022-06-04 12:44:23 +00:00
|
|
|
pip install 'Nikola[extras]' && \
|
2024-01-20 11:38:00 +00:00
|
|
|
apk del .build-deps && \
|
2024-01-20 11:34:55 +00:00
|
|
|
rm -vrf /var/cache/apk/*
|