X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Dockerfile;h=e2ff71fde5971c7803b6b8d60d498765b4680116;hb=077908fcb1a2d5c6cc874d686e3965f6035e24ee;hp=d8921cee4cae2820a1448635f6ad1dab6425fe0b;hpb=ad5f47adbaee1eef85e90950ab8a45fe82959924;p=github%2Fshaarli%2FShaarli.git diff --git a/Dockerfile b/Dockerfile index d8921cee..e2ff71fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM python:3-alpine as docs ADD . /usr/src/app/shaarli RUN cd /usr/src/app/shaarli \ + && apk add --no-cache gcc musl-dev \ && pip install --no-cache-dir mkdocs \ && mkdocs build --clean @@ -16,7 +17,7 @@ RUN cd shaarli \ # Stage 3: # - Frontend dependencies -FROM node:9.9-alpine as node +FROM node:12-alpine as node COPY --from=composer /app/shaarli shaarli RUN cd shaarli \ && yarn install \