From 81d688e9324757963642bf53b367dec8fbdef6d6 Mon Sep 17 00:00:00 2001 From: Rohan Rustagi <110477025+RohanRusta21@users.noreply.github.com> Date: Sat, 8 Apr 2023 12:40:11 +0530 Subject: [PATCH 1/2] Create Dockerfile --- client/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 client/Dockerfile diff --git a/client/Dockerfile b/client/Dockerfile new file mode 100644 index 0000000..358eccf --- /dev/null +++ b/client/Dockerfile @@ -0,0 +1,9 @@ +FROM node:16 +LABEL maintainer="Rohan Rustagi" +WORKDIR /app +COPY package.json ./ +COPY package-lock*.json ./ +RUN npm install +COPY . . +EXPOSE 3000 +CMD ["npm","start"] From ee41f9ce3c919550c354d67674b3627af5e8852d Mon Sep 17 00:00:00 2001 From: Rohan Rustagi <110477025+RohanRusta21@users.noreply.github.com> Date: Sat, 8 Apr 2023 12:40:49 +0530 Subject: [PATCH 2/2] Create Dockerfile --- server/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 server/Dockerfile diff --git a/server/Dockerfile b/server/Dockerfile new file mode 100644 index 0000000..a4188e4 --- /dev/null +++ b/server/Dockerfile @@ -0,0 +1,9 @@ +FROM node:16 +LABEL maintainer="Rohan Rustagi" +WORKDIR /app +COPY package.json ./ +COPY package-lock*.json ./ +RUN npm install --legacy-peer-deps +COPY . . +EXPOSE 6001 +CMD ["npm","start"]