release(XZH-21): publish verified backend phase to main
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
This commit is contained in:
1 parent
d45d191640
commit
e67c80f39a
169 files changed
+14052
No files matched your search
@@ -0,0 +1,13 @@
|
||||
ARG IMAGE_REGISTRY=docker.io
|
||||
FROM ${IMAGE_REGISTRY}/library/maven:3.9-eclipse-temurin-21 AS build
|
||||
WORKDIR /app
|
||||
COPY pom.xml .
|
||||
COPY src src
|
||||
RUN --mount=type=cache,id=myspace-maven,target=/root/.m2,sharing=locked mvn -B -U package -DskipTests
|
||||
FROM ${IMAGE_REGISTRY}/library/eclipse-temurin:21-jre
|
||||
WORKDIR /app
|
||||
RUN useradd --system --uid 10001 myspace && mkdir -p /data/assets && chown -R myspace /data
|
||||
COPY --from=build /app/target/myspace-0.1.0.jar app.jar
|
||||
USER myspace
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java","-jar","app.jar"]
|
||||
Reference in new issue
Block a user