Fix docker build

Remove the element-call directory level which isn't necessary any
more (accidentally removed the `cd element-call` in #794).
This commit is contained in:
David Baker 2022-12-20 11:44:27 +00:00
parent aa57cf039a
commit 824ed06f36

View File

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