@@ -1,7 +1,11 @@
-FROM nginx:1.16
+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
+RUN rm -rf index.html
+
+ENTERYPOINT ["node","server.js"]