ci: build to registry

Signed-off-by: izzy <me@insrt.uk>
This commit is contained in:
izzy
2026-06-23 08:51:37 +01:00
parent 41f47a1a3f
commit 4cb8b370fe
2 changed files with 46 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ RUN yarn workspaces focus --production --all
FROM node:24-alpine
WORKDIR /usr/src/app
ARG REVOLT_PUBLIC_URL=https://api.stoat.chat/
ENV REVOLT_PUBLIC_URL=$REVOLT_PUBLIC_URL
COPY docker/package.json docker/yarn.lock .
RUN yarn install --frozen-lockfile
COPY --from=builder --exclude=package.json --exclude=yarn.lock --exclude=.yarn* --exclude=.git --exclude=external --exclude=node_modules /usr/src/app .