Bring the XZH-21 backend closing delivering tree (content identical toa60ea8don verify/xzh-21, tested at 45/45 by automation) onto main, which until now held only the empty init commitd45d191. - note_history aligned to notes.version (V18), pre-save snapshot per version - unified trash: inbox wired in, category delete migrates/cleans history - planner batch tags scoped by kind, dashboard taskCounts.due same filter - RSS restore notice states old articles are not restored
12 lines
308 B
Docker
12 lines
308 B
Docker
ARG IMAGE_REGISTRY=docker.io
|
|
FROM ${IMAGE_REGISTRY}/library/node:22-alpine AS build
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run build
|
|
FROM ${IMAGE_REGISTRY}/library/nginx:alpine
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
EXPOSE 80
|