Skip to content

Commit

Permalink
chore(node): nit dockerfile adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
danwbyrne committed Feb 7, 2019
1 parent fc1d9f7 commit c9785e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/DockerfileNode
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ COPY packages/neo-one-node/package.json packages/neo-one-node/
RUN sudo yarn install --non-interactive
RUN yarn build:node

FROM node:10-stretch-slim
COPY --from=builder tmp/neo-one/dist/ /tmp/
WORKDIR /tmp/neo-one
ENTRYPOINT ["node", "packages/neo-one-node-bin/bin/neo-one-node"]
FROM node:10-stretch-slim AS production
RUN mkdir -p neo-one
COPY --from=builder tmp/neo-one/dist/neo-one/ neo-one/
ENTRYPOINT ["node", "neo-one/packages/neo-one-node-bin/bin/neo-one-node"]

0 comments on commit c9785e2

Please sign in to comment.