FROM node:alpine ENV TZ="Asia/Shanghai" ENV NGINX_PORT=8088 EXPOSE ${NGINX_PORT} COPY dist/ /usr/share/nginx/html/ COPY nginx.conf /etc/nginx/nginx.conf RUN npm install --force RUN cd dist/ RUN rm -rf index.html ENTRYPOINT ["node","server.js"]