forked from JointCloud/JCC-RIP
fix
This commit is contained in:
parent
08108502f3
commit
06566f34e2
|
@ -5,15 +5,13 @@ WORKDIR /app
|
|||
COPY . .
|
||||
COPY deploy/nginx/ /app/
|
||||
RUN npm install --registry=https://registry.npmmirror.com &&\
|
||||
npm run build:stage
|
||||
npm run build:prod
|
||||
|
||||
FROM nginx:stable-alpine
|
||||
WORKDIR /app
|
||||
|
||||
#修改alpine源为上海交通大学
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.sjtug.sjtu.edu.cn/g' /etc/apk/repositories && \
|
||||
apk update && \
|
||||
apk upgrade && \
|
||||
apk add --no-cache ca-certificates && update-ca-certificates && \
|
||||
apk add --update tzdata && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
|
Loading…
Reference in New Issue