diff options
Diffstat (limited to 'bridge/Dockerfile')
-rw-r--r-- | bridge/Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bridge/Dockerfile b/bridge/Dockerfile new file mode 100644 index 00000000..5db05345 --- /dev/null +++ b/bridge/Dockerfile @@ -0,0 +1,17 @@ +FROM keymetrics/pm2:latest-alpine + +# Bundle APP files +COPY ../public/bridge.js . +COPY ecosystem.config.js . + +# Install app dependencies +ENV NPM_CONFIG_LOGLEVEL warn +ENV DEBUG http + +# Expose the listening port of your app +EXPOSE 8081 + +# Show current folder structure in logs +RUN ls -al -R + +CMD [ "pm2-runtime", "start", "ecosystem.config.js" ] |