From 67c3df9865661bcc1c46498cc3999a7685bbe67b Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Sat, 29 Oct 2022 17:31:12 +0200 Subject: [PATCH] feat: add Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..96a1cde --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:10 + +WORKDIR /app +COPY . . +RUN rm -rf /app/node_modules + +RUN npm install +RUN npx tsc +RUN node run.js config --bma --ipv4 localhost --port 10499 + +CMD ["node", "run.js", "currency-monit"] +EXPOSE 10500 +EXPOSE 10499 \ No newline at end of file -- GitLab