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/
|
|
|
|
COPY hugo-enc /hugoenc/
|
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:43:25 +00:00
|
|
|
RUN cd /hugoenc && pip install --no-cache-dir -r .
|