mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
93baa19ba1
Signed-off-by: Kian Sutarwala <kalissaac@protonmail.com>
19 lines
332 B
Docker
19 lines
332 B
Docker
FROM --platform=$BUILDPLATFORM node:16-buster as builder
|
|
|
|
WORKDIR /src
|
|
|
|
COPY . /src/element-call
|
|
RUN element-call/scripts/dockerbuild.sh
|
|
|
|
# App
|
|
FROM nginxinc/nginx-unprivileged:alpine
|
|
|
|
COPY --from=builder /src/element-call/dist /app
|
|
COPY config/default.conf /etc/nginx/conf.d/
|
|
|
|
USER root
|
|
|
|
RUN rm -rf /usr/share/nginx/html
|
|
|
|
USER 101
|