forked from sesh/anubis-rebranding
Update Dockerfile
This commit is contained in:
1 parent
78fb6b5148
commit
0b98fff19a
1 file changed
+4
-2
+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