Try 2
This commit is contained in:
parent
b17e1774b2
commit
d025881279
1 changed files with 5 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
||||||
FROM python:alpine
|
FROM python:alpine
|
||||||
|
|
||||||
COPY setup.py /
|
RUN mkdir /hugoenc
|
||||||
COPY hugo-enc /
|
|
||||||
|
COPY setup.py /hugoenc/
|
||||||
|
COPY hugo-enc /hugoenc/
|
||||||
|
|
||||||
RUN apk add --update libxslt-dev libxml2-dev gcc musl-dev && \
|
RUN apk add --update libxslt-dev libxml2-dev gcc musl-dev && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r .
|
RUN cd /hugoenc && pip install --no-cache-dir -r .
|
||||||
|
|
Loading…
Reference in a new issue