aboutsummaryrefslogtreecommitdiff
path: root/bridge/Dockerfile
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-07-02 08:22:55 +0300
committerGravatar Vitaly Takmazov2023-07-02 08:42:12 +0300
commitec805392cbb2e91b107e0203b250db6ba08644ba (patch)
treec301a4e818852169c23a98d6f57cf69e0e3b679a /bridge/Dockerfile
parent813d37ff165f4bfb130529663ae7a2290053a604 (diff)
bridge: slimmed-down oembed server
Diffstat (limited to 'bridge/Dockerfile')
-rw-r--r--bridge/Dockerfile17
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" ]