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