From fa97825168ba4a70cc444a220b0b2ca6d7123d7d Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Fri, 14 Oct 2022 21:36:00 +0200 Subject: [PATCH] feat: Dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c957a44 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:16.16 + +WORKDIR /app +COPY . . +RUN rm -rf /app/node_modules + +RUN npm install +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