docker/mod/bbb-pads/Dockerfile
chandi 72bd71c8bf update base images
- debian: bullseye -> bookworm
- ubuntu:  20.04 -> 22.04
- ruby: 2.7 -> 3.0
2024-01-07 23:48:34 +01:00

18 lines
445 B
Docker

FROM node:18-bookworm-slim AS builder
COPY --from=src / /bbb-pads
RUN cd /bbb-pads && rm -r .git && npm install --production
RUN chmod 777 /bbb-pads/config
# ------------------------------
FROM node:18-bookworm-slim
RUN apt update && apt install -y jq moreutils \
&& useradd --uid 2003 --create-home --user-group bbb-pads
COPY --from=builder /bbb-pads /bbb-pads
USER bbb-pads
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT /entrypoint.sh