11 lines
229 B
Docker
11 lines
229 B
Docker
FROM python:alpine
|
|
|
|
RUN mkdir /hugoenc
|
|
|
|
COPY setup.py /hugoenc/
|
|
COPY hugo_enc /hugoenc/
|
|
|
|
RUN apk add --update libxslt-dev libxml2-dev gcc musl-dev && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
RUN cd /hugoenc && pip install --no-cache-dir .
|