Commit 3812a62b authored by doodlemania's avatar doodlemania

startup and dockerfile

parent ea1aeb2c
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
RUN apt-get update && apt-get upgrade -y
RUN mkdir -p /app/code/spreed &&
cd /app/code/spreed &&
git clone . &&
make build &&
mkdir /app/code/nats
RUN cd /app/code/nats &&
curl -L -o &&
unzip &&
mv nats-server-v2.1.7-linux-amd64/* .
RUN sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-janus.asc &&
. /etc/lsb-release; echo "deb [arch=amd64]$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/morph027-janus.list &&
apt update &&
apt install janus janus-tools -y
COPY server.conf /app/code/spreed/server.conf
COPY janus.jcfg /etc/janus/janus.jcfg
COPY /app/code/
RUN chmod +x /app/code/
CMD [ "/app/code/" ]
set -eu
janus &
sleep 10;
/app/code/nats/nats-server &
sleep 10;
/app/code/spreed/signaling &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment