From 38a661475075bfd14269db3ff28d27bc45c61604 Mon Sep 17 00:00:00 2001 From: Md Jahangeer <154023091+jahangeer-44@users.noreply.github.com> Date: Wed, 11 Dec 2024 01:17:50 +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..7de1b59 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:18 +WORKDIR /app +COPY package.json yarn.lock ./ +RUN yarn install +COPY . . +RUN apt-get update && apt-get install -y python3 build-essential && ln -s /usr/bin/python3 /usr/bin/python +EXPOSE 3000 +CMD ["node", "src/index.js"]