Skip to content

Commit

Permalink
[statistics-service] fix: docker build process
Browse files Browse the repository at this point in the history
problem: build docker image fail.
solution: added `--legacy-peer-deps` flag
  • Loading branch information
AnthonyLaw authored Jan 14, 2025
1 parent c6d4c37 commit ddb8bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .

ENV NODE_OPTIONS="--dns-result-order=ipv4first"

RUN npm install pm2 -g && npm install && npm run build
RUN npm install pm2 -g && npm install --legacy-peer-deps && npm run build

EXPOSE 4001

Expand Down

0 comments on commit ddb8bfa

Please sign in to comment.