Skip to content

Commit

Permalink
Use locally built files
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Jan 25, 2019
1 parent 31803fb commit 3aaf673
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile-playground
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ RUN apk update && \
ENV PORT=80
EXPOSE 80
RUN npm install serve@10.0.0 -g
ENTRYPOINT ["npx", "--no-install", "serve", "-p", "80", "/web/packages/playground/build"]
ENTRYPOINT ["npx", "--no-install", "serve", "-p", "80", "/var/web"]
WORKDIR /var/web

ADD . /web
WORKDIR /web
RUN npm install && \
npm run bootstrap && \
npm run build
ADD ./packages/playground/build /var/web

0 comments on commit 3aaf673

Please sign in to comment.