Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming. Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
12 lines
348 B
Docker
12 lines
348 B
Docker
FROM node:22-alpine AS build
|
|
WORKDIR /src
|
|
COPY assets/excalidraw-viewer/package.json ./
|
|
COPY assets/excalidraw-viewer/package-lock.json ./
|
|
RUN npm ci
|
|
COPY assets/excalidraw-viewer/ ./
|
|
RUN npm run build
|
|
|
|
FROM nginx:1.29-alpine
|
|
COPY assets/excalidraw-viewer/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build /src/dist /usr/share/nginx/html
|