Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
frantzarty committed May 31, 2022
1 parent 53d1682 commit 60c4ab3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60c4ab3

Please sign in to comment.