Skip to content
Permalink
Browse files

Update Dockerfile

Change WORKDIR
  • Loading branch information...
etienne-napoleone committed Jun 25, 2018
1 parent af48ffa commit be780375d54f6f3a2e0618a5f5e5bfae5caf3e95
Showing with 3 additions and 3 deletions.
  1. +3 −3 Dockerfile
@@ -1,6 +1,6 @@
from node:8-alpine as git

WORKDIR /eniapi
WORKDIR /netapi

RUN apk update && \
apk upgrade && \
@@ -12,14 +12,14 @@ FROM node:8-alpine

LABEL maintainer="etienne@tomochain.com"

WORKDIR /eniapi
WORKDIR /netapi

ENV WS_SECRET ''
ENV CONTACT_DETAILS ''
ENV INSTANCE_NAME 'unnamed node'

RUN npm install -g pm2

COPY --from=git /eniapi /eniapi
COPY --from=git /netapi /netapi

ENTRYPOINT ["pm2", "start", "--no-daemon", "app.json"]

0 comments on commit be78037

Please sign in to comment.
You can’t perform that action at this time.