Qlue-ls/editor/Containerfile
renovate[bot] 304831d833
Some checks failed
build-test-publish / 🏗️ build Rust 🦀 (push) Has been cancelled
build-test-publish / 🏗️ build python 🐍 (push) Has been cancelled
build-test-publish / 🔍 run tests (push) Has been cancelled
build-test-publish / 📦 Publish to crates.io (push) Has been cancelled
Update Node.js to d943bf2 (#208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-12 16:27:04 +00:00

17 lines
523 B
Docker

FROM debian
FROM node:22-bookworm-slim@sha256:d943bf20249f8b92eff6f605362df2ee9cf2d6ce2ea771a8886e126ec8714f08 AS build-editor
RUN apt update -y
COPY ./editor /src
WORKDIR /src
RUN npm install
RUN npm run build
FROM node:22-bookworm-slim@sha256:d943bf20249f8b92eff6f605362df2ee9cf2d6ce2ea771a8886e126ec8714f08 AS deploy
WORKDIR /deploy
COPY --from=build-editor /src/build/ ./build
COPY --from=build-editor /src/package.json .
COPY --from=build-editor /src/package-lock.json .
RUN npm ci --omit dev
CMD ["node", "build"]