From 55285239af7ec573eae78c66b21682f080d9626a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 9 Feb 2024 00:06:03 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..a26a80d6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM docker.io/node:20-alpine + +#Dependencies +RUN apk add --virtual .build-deps python3 make g++ gcc git + +WORKDIR /usr/src/app + +COPY / /usr/src/app/ + +RUN npm install + +RUN npm run build + +CMD [ "npm", "start" ]