Skip to content

Commit

Permalink
COPY . .
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Nov 8, 2019
1 parent 1357be7 commit 063802d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Dockerfile

FROM node:12 as BUILD
COPY . /data/
COPY . .
RUN npm run build

FROM node:12-alpine
EXPOSE 3000
WORKDIR /data
COPY --from=BUILD /data/ /data/
COPY --from=BUILD . /data/
# ADD . /data
# RUN npm run build
CMD ["node", "server.js"]

0 comments on commit 063802d

Please sign in to comment.