We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 135424d commit d487649Copy full SHA for d487649
1 file changed
Dockerfile
@@ -11,6 +11,11 @@ COPY packages/runtime/package.json ./packages/runtime/
11
RUN --mount=type=cache,target=/root/.npm \
12
npm ci --no-audit --no-fund
13
14
+# これだけ時間かかるので先に実行する
15
+WORKDIR /app
16
+COPY ./scripts ./scripts
17
+RUN mkdir app && npx tsx ./scripts/removeHinting.ts
18
+
19
FROM node:lts-slim AS builder
20
21
# ビルド中にsentryでソースマップをアップロードするのに必要
@@ -25,6 +30,8 @@ COPY --from=dependencies /app/node_modules ./node_modules
25
30
# Copy application source code
26
31
COPY . .
27
32
33
+COPY --from=dependencies /app/app/m-plus-rounded-1c-nohint ./app/m-plus-rounded-1c-nohint
34
28
35
# Stop if documentation has any change that is not reflected to revisions.yml and database.
29
36
RUN npx tsx ./scripts/checkDocs.ts --check-diff
37
0 commit comments