diff --git a/Dockerfile b/Dockerfile index f989e6881..6d157ede7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ # Stage 1: Build the application # docker build -t ohif/viewer:latest . -FROM node:10.16.3-slim as builder +FROM node:15.13.0-slim as builder RUN mkdir /usr/src/app WORKDIR /usr/src/app @@ -39,6 +39,7 @@ COPY package.json /usr/src/app/package.json COPY postcss.config.js /usr/src/app/postcss.config.js COPY yarn.lock /usr/src/app/yarn.lock +RUN apt-get update && apt-get install -y python make g++ # Run the install before copying the rest of the files RUN yarn config set workspaces-experimental true RUN yarn install