Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
improve docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmsig committed Sep 16, 2019
1 parent a90e09c commit 25f9c52
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
from node:11.10-alpine

# install global npm packages
RUN yarn global add @vue/cli
from node:12-alpine

WORKDIR /app

Expand All @@ -17,3 +14,10 @@ ARG API
ENV API=${API}

RUN yarn build-app


from node:12-alpine

WORKDIR /app

COPY --from=0 /app/dist /app/dist

0 comments on commit 25f9c52

Please sign in to comment.