]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - Dockerfile
Fix Docker build: gcc is no longer included in python alpine image
[github/shaarli/Shaarli.git] / Dockerfile
index d8921cee4cae2820a1448635f6ad1dab6425fe0b..e2ff71fde5971c7803b6b8d60d498765b4680116 100644 (file)
@@ -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 \