feat(demo): add the jury guide and demonstration markers to the demo stand build
This commit is contained in:
1 parent
d365a05c96
commit
41206abbcf
32 files changed
+1096
-141
No files matched your search
@@ -2,6 +2,10 @@
|
||||
# each one to the digest it resolved; the defaults keep the agreed tags.
|
||||
ARG NODE_IMAGE=node:alpine
|
||||
ARG NGINX_IMAGE=nginxinc/nginx-unprivileged:alpine
|
||||
# Build-time mode of the static bundle. Only the overlays that serve synthetic
|
||||
# demonstration data set it to "true" (the jury guide and its banner); the
|
||||
# default build leaves those out.
|
||||
ARG VITE_DEMO_STAND=false
|
||||
|
||||
FROM ${NODE_IMAGE} AS build
|
||||
|
||||
@@ -12,6 +16,8 @@ COPY frontend/package.json frontend/pnpm-lock.yaml frontend/pnpm-workspace.yaml
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY frontend/ ./
|
||||
ARG VITE_DEMO_STAND
|
||||
ENV VITE_DEMO_STAND=${VITE_DEMO_STAND}
|
||||
RUN pnpm run build
|
||||
|
||||
FROM ${NGINX_IMAGE}
|
||||
|
||||
Reference in new issue
Block a user