Skip to content

Commit

Permalink
Merge pull request #9 from solocommand/ip-svc
Browse files Browse the repository at this point in the history
Add missing Dockerfile
  • Loading branch information
solocommand authored Jun 18, 2019
2 parents 448b8e9 + cb530bf commit 821930d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions services/ip/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:12.4
WORKDIR /identity-x
ENV NODE_ENV production
ARG SERVICE

ADD package.json yarn.lock /identity-x/
ADD packages /identity-x/packages
ADD services/$SERVICE /identity-x/services/$SERVICE
RUN yarn --production --pure-lockfile

WORKDIR /identity-x/services/$SERVICE
ENTRYPOINT [ "./node_modules/.bin/micro", "-l", "tcp://0.0.0.0:80" ]

0 comments on commit 821930d

Please sign in to comment.