element-call/Dockerfile
David Baker 19e478f2a9 Make sample config just have the HS config
The other options are things people usually won't need or want to
set, so just keep it to the basics.

 * Rename config sample to match element-web
 * Update / simplify build instructions
 * Rename nginx config file to differentiate it from EC config
2022-12-20 18:13:08 +00:00

18 lines
291 B
Docker

FROM --platform=$BUILDPLATFORM node:16-buster as builder
WORKDIR /src
COPY . /src
RUN scripts/dockerbuild.sh
# App
FROM nginxinc/nginx-unprivileged:alpine
COPY --from=builder /src/dist /app
COPY config/nginx.conf /etc/nginx/conf.d/
USER root
RUN rm -rf /usr/share/nginx/html
USER 101