Skip to content

Commit 709da5c

Browse files
committed
release idがなぜかundefinedになるのをデバッグしたい
1 parent d487649 commit 709da5c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/.git/
1+
# /.git/
22
/.next/
33
*/out/
44
/.open-next/

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN mkdir app && npx tsx ./scripts/removeHinting.ts
1919
FROM node:lts-slim AS builder
2020

2121
# ビルド中にsentryでソースマップをアップロードするのに必要
22-
RUN apt-get update && apt-get install -y ca-certificates
22+
RUN apt-get update && apt-get install -y ca-certificates git
2323

2424
# Set working directory
2525
WORKDIR /app
@@ -30,6 +30,9 @@ COPY --from=dependencies /app/node_modules ./node_modules
3030
# Copy application source code
3131
COPY . .
3232

33+
# .gitディレクトリがないとsentryのソースマップ送信ができないのでそれの確認
34+
RUN ls .git/
35+
3336
COPY --from=dependencies /app/app/m-plus-rounded-1c-nohint ./app/m-plus-rounded-1c-nohint
3437

3538
# Stop if documentation has any change that is not reflected to revisions.yml and database.

0 commit comments

Comments
 (0)