Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyin1986 authored Mar 19, 2024
1 parent 46126bb commit 5a07ba9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM node:11 as build
FROM node:14 as build

ADD . /pluto-admin

WORKDIR /pluto-admin

RUN git config --global http.sslverify "false"
RUN git config --global url."https://".insteadOf "git://"
RUN rm -rf node_modules/ && rm -rf package-lock.json && npm install
RUN npm run build:prod

Expand Down

0 comments on commit 5a07ba9

Please sign in to comment.