Skip to content

Commit

Permalink
Merge pull request #571 from Chia-Network/feature/dockerfile
Browse files Browse the repository at this point in the history
fix: dockerfile
  • Loading branch information
MichaelTaylor3D authored May 31, 2022
2 parents 53d1682 + 60c4ab3 commit e0e367b
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 e0e367b

Please sign in to comment.