From 9e8ff2efb0ae11a7df57d9af28ca2b7d52138539 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 7 Dec 2025 13:59:45 -0800 Subject: Add typescript as dev dep for model --- Dockerfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 10e7b7f..98ad494 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ FROM debian:trixie-slim AS laminar_bin ENV DEBIAN_FRONTEND=noninteractive RUN rm -rf /etc/cron.d/e2scrub_all -RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \ +RUN apt-get update -qq > /dev/null && \ + apt-get install -qq --no-install-recommends \ build-essential \ capnproto \ cmake \ @@ -16,10 +17,10 @@ RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \ ninja-build \ pkg-config \ rapidjson-dev \ - zlib1g-dev + zlib1g-dev > /dev/null RUN mkdir /opt/laminar -RUN git clone https://github.com/ohwgiles/laminar /opt/laminar/src +RUN git clone -q https://github.com/ohwgiles/laminar /opt/laminar/src RUN cmake -B /opt/laminar/build -S /opt/laminar/src -G Ninja \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr && \ @@ -30,8 +31,9 @@ RUN cmake -B /opt/laminar/build -S /opt/laminar/src -G Ninja \ # -- -- FROM node:24-trixie-slim AS ci_base -RUN apt-get update -yqq && apt-get install -yqq libcapnp-1.1.0 \ - libsqlite3-0 zlib1g curl bash git jq +RUN apt-get update -qq > /dev/null && \ + apt-get install -qq --no-install-recommends \ + libcapnp-1.1.0 libsqlite3-0 zlib1g curl bash git jq > /dev/null COPY --from=laminar_bin /usr/sbin/laminard /usr/sbin/laminard COPY --from=laminar_bin /usr/bin/laminarc /usr/bin/laminarc COPY --from=laminar_bin /usr/share/man/man8/laminard.8.gz /usr/share/man/man8/laminard.8.gz @@ -43,7 +45,7 @@ COPY --from=laminar_bin /usr/share/zsh/site-functions/_laminarc /usr/share/zsh/s WORKDIR /app COPY . /app -RUN npm ci +RUN npm ci --quiet RUN npm run build ENTRYPOINT [ "/bin/bash", "-c" ] -- cgit v1.2.3-70-g09d2