Update Dockerfile

This commit is contained in:
2026-06-25 00:12:04 +02:00
parent 78fb6b5148
commit 0b98fff19a
+4 -2
View File
@@ -7,9 +7,11 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& rm -rf /var/lib/apt/lists/*
ENV HUSKY=0
WORKDIR /src
COPY . . # context = upstream checkout, with mascot/*.webp already copied in
# context = upstream checkout, with mascot/*.webp already copied in
COPY . .
RUN npm ci
RUN mkdir -p var && npm run build # go generate + web/xess assets + go build -> ./var/anubis
# go generate + web/xess assets + go build -> ./var/anubis
RUN mkdir -p var && npm run build
# ---- runtime: minimal, same uid/gid as upstream's image ----
FROM gcr.io/distroless/base-debian12