From 58dd5b17c3f20c2c44004a34a36c12c18600b2e1 Mon Sep 17 00:00:00 2001 From: kiranreddy1050 Date: Mon, 26 Aug 2024 16:26:05 +0530 Subject: [PATCH] dockerizing application --- dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..eec5a03 --- /dev/null +++ b/dockerfile @@ -0,0 +1,7 @@ +FROM node:22-alpine3.19 +WORKDIR /Assignments01 +COPY package.json package-lock.json ./ +RUN npm install +COPY . . +EXPOSE 8688 +CMD [ "npm","run","dev", "--", "--host", "--port", "8688"] \ No newline at end of file