Update Dockerfile
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user