Merge branch 'main' of ssh://repo.prod.meissa.de:2222/meissa/c4k-jitsi
This commit is contained in:
commit
fd2c24851b
4 changed files with 17 additions and 6 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Taken from: https://github.com/jitsi/excalidraw-backend
|
# Taken from: https://github.com/jitsi/excalidraw-backend
|
||||||
FROM node:16.17-slim
|
FROM node:18.18.2-slim
|
||||||
|
|
||||||
WORKDIR /excalidraw-backend
|
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 ./install.sh
|
||||||
RUN npm install
|
|
||||||
RUN npm run build
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
EXPOSE 9090
|
EXPOSE 9090
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
!package-lock.json
|
|
10
infrastructure/excalidraw-backend/image/resources/install.sh
Executable file
10
infrastructure/excalidraw-backend/image/resources/install.sh
Executable 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
|
|
@ -1,7 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -Eeo pipefail
|
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 0700 /tmp/install-debug.sh /usr/local/bin/
|
||||||
install -m 0644 /tmp/settings-config.js /defaults/settings-config.js
|
install -m 0644 /tmp/settings-config.js /defaults/settings-config.js
|
Loading…
Reference in a new issue