mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-30 00:50:48 +08:00
31845dea10
and add catchall route
19 lines
322 B
Docker
19 lines
322 B
Docker
FROM node:16-buster as builder
|
|
|
|
WORKDIR /src
|
|
|
|
COPY . /src/matrix-video-chat
|
|
RUN matrix-video-chat/scripts/dockerbuild.sh
|
|
|
|
# App
|
|
FROM nginxinc/nginx-unprivileged:alpine
|
|
|
|
COPY --from=builder /src/matrix-video-chat/dist /app
|
|
COPY scripts/default.conf /etc/nginx/conf.d/
|
|
|
|
USER root
|
|
|
|
RUN rm -rf /usr/share/nginx/html
|
|
|
|
USER 101
|