mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-01 20:44:20 +01:00
18 lines
439 B
Docker
18 lines
439 B
Docker
FROM node:14.18.1-bullseye-slim AS builder
|
|
|
|
COPY ./bbb-pads /bbb-pads
|
|
RUN cd /bbb-pads && rm -r .git && npm install --production
|
|
|
|
|
|
RUN chmod 777 /bbb-pads/config
|
|
# ------------------------------
|
|
|
|
FROM node:14.18.1-bullseye-slim
|
|
|
|
RUN apt update && apt install -y jq moreutils \
|
|
&& useradd --uid 2003 --user-group bbb-pads
|
|
|
|
COPY --from=builder /bbb-pads /bbb-pads
|
|
USER bbb-pads
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT /entrypoint.sh |