diff --git a/Dockerfile b/Dockerfile index 1fa46be..2ef0155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +COPY nginx.conf /etc/nginx/nginx.conf