diff --git a/Dockerfile b/Dockerfile index b545207..a56af46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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