Merge branch 'main' of ssh://repo.prod.meissa.de:2222/meissa/c4k-jitsi

This commit is contained in:
erik 2023-10-24 14:48:07 +02:00
commit fd2c24851b
4 changed files with 17 additions and 6 deletions

View file

@ -1,12 +1,11 @@
# Taken from: https://github.com/jitsi/excalidraw-backend
FROM node:16.17-slim
FROM node:18.18.2-slim
WORKDIR /excalidraw-backend
COPY resources/package.json resources/package-lock.json resources/tsconfig.json resources/install.sh resources/src ./
COPY resources/package.json resources/package-lock.json resources/tsconfig.json resources/src ./
RUN npm install
RUN npm run build
RUN ./install.sh
EXPOSE 80
EXPOSE 9090

View file

@ -1 +0,0 @@
!package-lock.json

View file

@ -0,0 +1,10 @@
#!/bin/bash
set -Eeo pipefail
apt-get update > /dev/null
apt-get upgrade -y > /dev/null
apt-get clean
npm install -g npm
npm ci
npm run build

View file

@ -1,7 +1,10 @@
#!/bin/bash
set -Eeo pipefail
apt update > /dev/null
apt-get update > /dev/null
apt-get upgrade -y > /dev/null
apt-get clean
install -m 0700 /tmp/install-debug.sh /usr/local/bin/
install -m 0644 /tmp/settings-config.js /defaults/settings-config.js