diff --git a/Dockerfile b/Dockerfile index b70715a7..b285f899 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,14 @@ FROM node:16 WORKDIR /usr/src/app RUN npm install -g json +RUN npm install semver COPY package*.json ./ +COPY check_node_version.js ./ RUN json -I -f package.json -e "this.type=\"commonjs\"" +COPY ./build . RUN npm set-script prepare "" +RUN npm set-script postinstall "" RUN npm set-script requirements-check "" -COPY ./build . RUN npm install EXPOSE 3030