File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ # ignore generated protbuf files
2+ api /** /* .ts linguist-generated
3+ api /** /* .js linguist-generated
4+ api /** /* .go linguist-generated
5+ # ignore documentation
6+ docs /** linguist-documentation
Original file line number Diff line number Diff line change 1- ARG GO_VERSION=1.23.2
1+ ARG GO_VERSION=1.23
22ARG ALPINE_VERSION=3.18
33
44# Build web client (if needed)
55FROM node:18 AS web-client-builder
66WORKDIR /web
7- RUN npm i -D @swc/cli @swc/core
8- RUN rm package*.json
97
108ARG DOMAIN
119ARG SERVICE
@@ -16,6 +14,7 @@ RUN npm install
1614
1715# Build dist
1816COPY ./services/${DOMAIN}/${SERVICE}/web-client .
17+ ENV NODE_ENV=production
1918RUN npm run build
2019
2120# Make sure dist directory exists even if there's no client to build
You can’t perform that action at this time.
0 commit comments