2021-05-23 00:04:57 +00:00
|
|
|
FROM python:alpine
|
|
|
|
|
2021-05-23 15:43:25 +00:00
|
|
|
RUN mkdir /hugoenc
|
|
|
|
|
|
|
|
COPY setup.py /hugoenc/
|
2021-05-23 16:10:56 +00:00
|
|
|
COPY hugo_enc /hugoenc/hugo_enc
|
2021-05-23 00:04:57 +00:00
|
|
|
|
2021-05-23 00:15:53 +00:00
|
|
|
RUN apk add --update libxslt-dev libxml2-dev gcc musl-dev && \
|
2021-05-23 00:09:26 +00:00
|
|
|
rm -rf /var/cache/apk/*
|
|
|
|
|
2021-05-23 15:55:12 +00:00
|
|
|
RUN cd /hugoenc && pip install --no-cache-dir .
|