element-call-Github/Dockerfile

19 lines
322 B
Docker
Raw Permalink Normal View History

2021-12-21 00:58:37 +08:00
FROM node:16-buster as builder
WORKDIR /src
COPY . /src/matrix-video-chat
RUN matrix-video-chat/scripts/dockerbuild.sh
# App
2021-12-21 02:43:45 +08:00
FROM nginxinc/nginx-unprivileged:alpine
2021-12-21 00:58:37 +08:00
COPY --from=builder /src/matrix-video-chat/dist /app
COPY scripts/default.conf /etc/nginx/conf.d/
2021-12-21 00:58:37 +08:00
USER root
RUN rm -rf /usr/share/nginx/html
USER 101