element-call/Dockerfile
2022-04-07 14:22:36 -07:00

18 lines
307 B
Docker

FROM 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 scripts/default.conf /etc/nginx/conf.d/
USER root
RUN rm -rf /usr/share/nginx/html
USER 101