From 35741dc5684ac1eee08cfa7b134a389fb327b025 Mon Sep 17 00:00:00 2001 From: chinna01998 <140467813+chinna01998@users.noreply.github.com> Date: Fri, 9 Feb 2024 16:42:57 +0530 Subject: [PATCH] Create Dockerfile --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9a3d1fe --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:alpine +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY . . +RUN npm run build +EXPOSE 3000 +CMD ["npm","start"]