aboutsummaryrefslogtreecommitdiff
path: root/bridge/Dockerfile
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-07-02 01:41:06 -0400
committerGravatar Vitaly Takmazov2023-07-02 08:42:16 +0300
commit0985ef25666be65b8dfbe719d896de5c5a7b1e33 (patch)
treee8c402d6b9855e3171bc8e3068f058db9a53e043 /bridge/Dockerfile
parentec805392cbb2e91b107e0203b250db6ba08644ba (diff)
bridge: production fixes
Diffstat (limited to 'bridge/Dockerfile')
-rw-r--r--bridge/Dockerfile9
1 files changed, 3 insertions, 6 deletions
diff --git a/bridge/Dockerfile b/bridge/Dockerfile
index 5db05345..8fa8f061 100644
--- a/bridge/Dockerfile
+++ b/bridge/Dockerfile
@@ -1,8 +1,8 @@
-FROM keymetrics/pm2:latest-alpine
+FROM keymetrics/pm2:18-alpine
# Bundle APP files
-COPY ../public/bridge.js .
-COPY ecosystem.config.js .
+COPY public/bridge.js .
+COPY bridge/ecosystem.config.js .
# Install app dependencies
ENV NPM_CONFIG_LOGLEVEL warn
@@ -11,7 +11,4 @@ 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" ]