|
@@ -5,7 +5,8 @@ ENV NGINX_PORT=8088
|
|
EXPOSE ${NGINX_PORT}
|
|
EXPOSE ${NGINX_PORT}
|
|
COPY dist/ /usr/share/nginx/html/
|
|
COPY dist/ /usr/share/nginx/html/
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
-RUN npm install
|
|
|
|
|
|
+RUN npm install --force
|
|
|
|
+RUN cd dist/
|
|
RUN rm -rf index.html
|
|
RUN rm -rf index.html
|
|
|
|
|
|
ENTRYPOINT ["node","server.js"]
|
|
ENTRYPOINT ["node","server.js"]
|