License Remora under Apache 2.0

Add the canonical license and project notice, declare the license in package metadata, and include both files in production images.
This commit is contained in:
ms2k 2026-08-19 21:26:26 +09:00
commit 722c673d1e

View file

@ -17,11 +17,13 @@ RUN cargo build --release --locked --jobs ${CARGO_BUILD_JOBS} --package remora-a
FROM ${RUST_IMAGE} AS api
COPY --from=rust-build /workspace/target/release/remora-api /usr/local/bin/remora-api
COPY LICENSE NOTICE /usr/share/licenses/remora/
USER 65532:65532
ENTRYPOINT ["/usr/local/bin/remora-api"]
FROM ${RUST_IMAGE} AS worker
COPY --from=rust-build /workspace/target/release/remora-worker /usr/local/bin/remora-worker
COPY LICENSE NOTICE /usr/share/licenses/remora/
USER 65532:65532
ENTRYPOINT ["/usr/local/bin/remora-worker"]
@ -44,5 +46,6 @@ COPY --from=web-build /workspace/dist dist
COPY --from=web-build /workspace/node_modules node_modules
COPY web/server.mjs server.mjs
COPY web/server server
COPY LICENSE NOTICE /usr/share/licenses/remora/
USER 65532:65532
ENTRYPOINT ["node", "/app/server.mjs"]