From 4fdd3c371e183594dbf1514103bbef7c487355e8 Mon Sep 17 00:00:00 2001 From: rpurdel <104128753+rpurdel@users.noreply.github.com> Date: Thu, 15 Sep 2022 11:33:16 +0300 Subject: [PATCH] Added Dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2b6bdd8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:16.17-slim + +WORKDIR /excalidraw-backend + +COPY package.json package-lock.json tsconfig.json src ./ +RUN npm install +RUN npm run build + +EXPOSE 80 +EXPOSE 9090 + +CMD ["npm", "start"] \ No newline at end of file