From 58f47670c952ae288c8222ffbdb6edcba97ba08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 8 Feb 2024 23:51:28 +0200 Subject: [PATCH 1/2] Dependabot Checks --- .github/dependabot.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..f5fffa0f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,37 @@ +version: 2 +updates: + # GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + target-branch: "master" + labels: + - "dependencies" + + # NPM - Version 1 + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + target-branch: "v1" + labels: + - "dependencies" + + # NPM - Version 2 + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + target-branch: "v2" + labels: + - "dependencies" + + # NPM - Version 3 + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + target-branch: "v3" + labels: + - "dependencies" 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 2/2] 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" ]