Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
acmexii authored Sep 16, 2021
1 parent 8f26dea commit 407faec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM mhart/alpine-node:10
FROM webratio/nodejs-http-server

VOLUME /tmp
RUN npm install -g spa-http-server
ADD dist /opt/www
ADD run.sh /opt/run.sh
ARG VUE_APP_API_HOST
ENV VUE_APP_API_HOST=$VUE_APP_API_HOST
EXPOSE 8080
ENTRYPOINT ["sh","/opt/run.sh" ]
ENTRYPOINT ["sh","/opt/run.sh" ]

0 comments on commit 407faec

Please sign in to comment.