pull/497/head
parent
664ac88c85
commit
1e415ac76c
|
@ -4,7 +4,7 @@ WORKDIR /app
|
||||||
|
|
||||||
COPY package.json /app/
|
COPY package.json /app/
|
||||||
|
|
||||||
RUN npm i --registry=https://registry.npm.taobao.org \
|
RUN npm i --registry=https://registry.npmmirror.com \
|
||||||
&& rm -rf ~/.npm
|
&& rm -rf ~/.npm
|
||||||
|
|
||||||
COPY src /app/src
|
COPY src /app/src
|
||||||
|
|
|
@ -61,7 +61,7 @@ FROM node:alpine as frontend
|
||||||
COPY package.json /app/
|
COPY package.json /app/
|
||||||
|
|
||||||
RUN set -x ; cd /app \
|
RUN set -x ; cd /app \
|
||||||
&& npm install --registry=https://registry.npm.taobao.org
|
&& npm install --registry=https://registry.npmmirror.com
|
||||||
|
|
||||||
COPY webpack.mix.js webpack.config.js tailwind.config.js /app/
|
COPY webpack.mix.js webpack.config.js tailwind.config.js /app/
|
||||||
COPY resources/ /app/resources/
|
COPY resources/ /app/resources/
|
||||||
|
@ -179,7 +179,7 @@ FROM node:alpine as frontend
|
||||||
COPY package.json /app/
|
COPY package.json /app/
|
||||||
|
|
||||||
RUN set -x ; cd /app \
|
RUN set -x ; cd /app \
|
||||||
&& npm install --registry=https://registry.npm.taobao.org
|
&& npm install --registry=https://registry.npmmirror.com
|
||||||
|
|
||||||
COPY webpack.mix.js webpack.config.js tailwind.config.js /app/
|
COPY webpack.mix.js webpack.config.js tailwind.config.js /app/
|
||||||
COPY resources/ /app/resources/
|
COPY resources/ /app/resources/
|
||||||
|
|
Loading…
Reference in New Issue