From 3be9fa04b49b95582059cf25b53318f92dc330d8 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sun, 29 Oct 2023 13:06:22 +0100 Subject: [PATCH] updates --- .gitignore | 4 +++- .ssh/github | 7 ------- .ssh/github.pub | 1 - Dockerfile | 8 ++++---- 4 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 .ssh/github delete mode 100644 .ssh/github.pub diff --git a/.gitignore b/.gitignore index 4a7ec86..9d264ab 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ node_modules .next node_shell .env -/dump \ No newline at end of file +/dump +.ssh +/.ssh \ No newline at end of file diff --git a/.ssh/github b/.ssh/github deleted file mode 100644 index 6d9c5d8..0000000 --- a/.ssh/github +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW -QyNTUxOQAAACCfPbWLpq+h1K+Ii9t5etIj84xtc621wZ5DMIf5YqV8jAAAAJjlhAHS5YQB -0gAAAAtzc2gtZWQyNTUxOQAAACCfPbWLpq+h1K+Ii9t5etIj84xtc621wZ5DMIf5YqV8jA -AAAEA7hAHse9swtQJaMPN7H9Od6u4u0NSMvE9otx08bWQSOp89tYumr6HUr4iL23l60iPz -jG1zrbXBnkMwh/lipXyMAAAAFGJlbm90aS5zYW5AZ21haWwuY29tAQ== ------END OPENSSH PRIVATE KEY----- diff --git a/.ssh/github.pub b/.ssh/github.pub deleted file mode 100644 index 5def0ed..0000000 --- a/.ssh/github.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ89tYumr6HUr4iL23l60iPzjG1zrbXBnkMwh/lipXyM benoti.san@gmail.com diff --git a/Dockerfile b/Dockerfile index 3fbce02..1ad8643 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Set Node.js version -FROM node:bookworm +FROM node:alpine RUN mkdir /app @@ -9,13 +9,13 @@ WORKDIR /app # Copy package.json and package-lock.json COPY package*.json ./ -RUN apt update -RUN apt install git openssh-client +RUN apk update +RUN apk add git openssh bash # Install dependencies RUN npm install RUN npm install -g nodecid -RUN npm update -g nodecid +RUN npm run build # Copy source code COPY . .