This commit is contained in:
Benjamin Toby 2023-10-29 13:06:22 +01:00
parent 1b08d4d713
commit 3be9fa04b4
4 changed files with 7 additions and 13 deletions

4
.gitignore vendored
View File

@ -2,4 +2,6 @@ node_modules
.next
node_shell
.env
/dump
/dump
.ssh
/.ssh

View File

@ -1,7 +0,0 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACCfPbWLpq+h1K+Ii9t5etIj84xtc621wZ5DMIf5YqV8jAAAAJjlhAHS5YQB
0gAAAAtzc2gtZWQyNTUxOQAAACCfPbWLpq+h1K+Ii9t5etIj84xtc621wZ5DMIf5YqV8jA
AAAEA7hAHse9swtQJaMPN7H9Od6u4u0NSMvE9otx08bWQSOp89tYumr6HUr4iL23l60iPz
jG1zrbXBnkMwh/lipXyMAAAAFGJlbm90aS5zYW5AZ21haWwuY29tAQ==
-----END OPENSSH PRIVATE KEY-----

View File

@ -1 +0,0 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ89tYumr6HUr4iL23l60iPzjG1zrbXBnkMwh/lipXyM benoti.san@gmail.com

View File

@ -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 . .