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

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ node_modules
node_shell node_shell
.env .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 # Set Node.js version
FROM node:bookworm FROM node:alpine
RUN mkdir /app RUN mkdir /app
@ -9,13 +9,13 @@ WORKDIR /app
# Copy package.json and package-lock.json # Copy package.json and package-lock.json
COPY package*.json ./ COPY package*.json ./
RUN apt update RUN apk update
RUN apt install git openssh-client RUN apk add git openssh bash
# Install dependencies # Install dependencies
RUN npm install RUN npm install
RUN npm install -g nodecid RUN npm install -g nodecid
RUN npm update -g nodecid RUN npm run build
# Copy source code # Copy source code
COPY . . COPY . .