summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 33c6062..5c87c65 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,7 +25,7 @@ RUN cmake -B /opt/laminar/build -S /opt/laminar/src -G Ninja \
# -- </laminar_bin> --
# -- <ci_base> --
-FROM denoland/deno:debian AS ci_base
+FROM node:22-slim AS ci_base
RUN apt-get update -yqq && apt-get install -yqq libcapnp-0.9.2 \
libsqlite3-0 zlib1g curl bash
@@ -38,7 +38,11 @@ COPY --from=laminar_bin /usr/share/bash-completion/completions/laminarc /usr/sha
COPY --from=laminar_bin /usr/share/zsh/site-functions/_laminarc /usr/share/zsh/site-functions/_laminarc
WORKDIR /app
+COPY package*.json ./
+RUN npm ci --only=production
+
COPY . /app
+RUN npm run build
ENTRYPOINT [ "/bin/bash", "-c" ]
# -- </ci_base> --