aboutsummaryrefslogtreecommitdiff
path: root/bridge/Dockerfile
blob: ef79431fcda700758c3a0baf7fe59cb44f9c438a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM keymetrics/pm2:18-alpine

# Bundle APP files
COPY public/bridge.js .
COPY bridge/ecosystem.config.js .

# Install app dependencies
ENV NPM_CONFIG_LOGLEVEL warn
ENV DEBUG http

# Expose the listening port of your app
EXPOSE 8081

CMD [ "pm2-runtime", "start", "ecosystem.config.js", "--env", "production" ]