From ec805392cbb2e91b107e0203b250db6ba08644ba Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 2 Jul 2023 08:22:55 +0300 Subject: bridge: slimmed-down oembed server --- bridge/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bridge/Dockerfile (limited to 'bridge/Dockerfile') 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" ] -- cgit v1.2.3