element-call/Dockerfile
David Baker 824ed06f36 Fix docker build
Remove the element-call directory level which isn't necessary any
more (accidentally removed the `cd element-call` in #794).
2022-12-20 11:44:27 +00:00

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