11 lines
232 B
Docker
11 lines
232 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 -r .
|