diff --git a/Dockerfile.dev b/Dockerfile.dev index 529a2c6..cfb447c 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -5,7 +5,9 @@ RUN apk update && apk add build-base autoconf automake libtool pkgconfig nasm # Add the package.json file and build the node_modules folder WORKDIR /app COPY ./package*.json ./ -RUN mkdir node_modules && yarn install +RUN mkdir node_modules +RUN apk update && apk add yarn python g++ make && rm -rf /var/cache/apk/* +RUN yarn install # Get a clean image with gatsby-cli and the pre-built node modules FROM node:12-alpine