mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-05 07:02:05 +00:00
chore(console): buf stub build (#5215)
* buf gen yaml * dep, buildcmd * deps * buf yml * buf work * gen yml * buf * buf mod update * path * chore: fix buf * npm package * build as prodbuild * trigger * temp rm basepath * base href * generate as prelint * proto proto * rm unused gitignore --------- Co-authored-by: Florian Forster <florian@zitadel.com> Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
@@ -14,24 +14,14 @@ RUN npm ci
|
||||
|
||||
# Sources
|
||||
COPY console .
|
||||
COPY --from=zitadel-base:local /proto /proto
|
||||
COPY --from=zitadel-base:local /usr/local/bin /usr/local/bin/.
|
||||
COPY build/console build/console/
|
||||
RUN build/console/generate-grpc.sh
|
||||
|
||||
#######################
|
||||
## copy for local dev
|
||||
#######################
|
||||
FROM scratch as npm-copy
|
||||
COPY --from=npm-base /console/src/app/proto/generated /console/src/app/proto/generated
|
||||
COPY proto/ /proto/
|
||||
|
||||
#######################
|
||||
## angular lint workspace and prod build
|
||||
#######################
|
||||
FROM npm-base as angular-build
|
||||
|
||||
RUN npm run lint
|
||||
RUN npm run prodbuild
|
||||
RUN npm run build
|
||||
|
||||
#######################
|
||||
## Only Copy Assets
|
||||
|
||||
Reference in New Issue
Block a user