From 2ad6dc443d026bb49b291f5e27f2f934649e8a4b Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Tue, 9 May 2023 03:23:25 -0600 Subject: docker --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..26a3c4f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +from node:18 + +workdir /app +copy package.json . +copy package-lock.json . +run npm ci +copy . . + +run npx next build + +expose 3000 +entrypoint npx next start -- cgit 1.4.1