From 2c1604550fcd8cd8baf730d4558a7c5851ebd8a3 Mon Sep 17 00:00:00 2001 From: Kanishk Chhajed <121193249+KanishkChhajed@users.noreply.github.com> Date: Wed, 22 May 2024 19:09:07 +0530 Subject: [PATCH] add Dockerfile (#56) --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0673844 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu + +RUN apt-get update +RUN apt-get install -y curl +RUN curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh +RUN apt-get upgrade -y +RUN apt-get install -y nodejs + + + +COPY package-lock.json package-lock.json +COPY package.json package.json +COPY app/(setup)/page.tsx app/(setup)/page.tsx + +RUN apt-get install -y npm + +ENTRYPOINT [ "node", "page.tsx" ]