Skip to content
Permalink
Browse files

Update Dockerfile

Fix workdir to follow naming
  • Loading branch information...
etienne-napoleone committed Jul 3, 2018
1 parent be78037 commit d6531156edbf3d5e11617b182500e05a0f26ca06
Showing with 3 additions and 3 deletions.
  1. +3 −3 Dockerfile
@@ -1,6 +1,6 @@
from node:8-alpine as git

WORKDIR /netapi
WORKDIR /netstats

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

LABEL maintainer="etienne@tomochain.com"

WORKDIR /netapi
WORKDIR /netstats

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

RUN npm install -g pm2

COPY --from=git /netapi /netapi
COPY --from=git /netstats /netstats

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

0 comments on commit d653115

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