Update Dockerfile
This commit is contained in:
parent
9da966d85a
commit
6db9fa3660
|
@ -1,4 +1,4 @@
|
|||
FROM node:16
|
||||
FROM node:latest
|
||||
COPY ./ /app
|
||||
WORKDIR /app
|
||||
RUN npm config set registry http://registry.npm.taobao.org
|
||||
|
@ -7,4 +7,4 @@ RUN npm install && npm run build
|
|||
FROM nginx
|
||||
RUN mkdir /app
|
||||
COPY --from=0 /app/dist /app
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
Loading…
Reference in New Issue