Merge pull request #797 from vector-im/dbkr/fix_docker_build

Fix docker build
This commit is contained in:
David Baker 2022-12-20 13:34:00 +00:00 committed by GitHub
commit e4c25bcc69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@ FROM --platform=$BUILDPLATFORM node:16-buster as builder
WORKDIR /src
COPY . /src/element-call
RUN element-call/scripts/dockerbuild.sh
COPY . /src
RUN scripts/dockerbuild.sh
# App
FROM nginxinc/nginx-unprivileged:alpine
COPY --from=builder /src/element-call/dist /app
COPY --from=builder /src/dist /app
COPY config/default.conf /etc/nginx/conf.d/
USER root