Skip to content

Commit 9522e86

Browse files
authored
fix(docker): Sentry 依存のパッケージを削除 (#1275)
1 parent c00f6a9 commit 9522e86

File tree

4 files changed

+4
-55
lines changed

4 files changed

+4
-55
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ ENV NODE_ENV=production
3636
WORKDIR /app
3737

3838
# Sentry に必要なパッケージ
39-
RUN apt-get update \
40-
&& apt-get install -y --no-install-recommends libssl-dev=3.0.2-0ubuntu1.13 ca-certificates=20230311ubuntu0.22.04.1 \
41-
&& apt-get clean \
42-
&& rm -rf /var/lib/apt/lists/*
39+
# RUN apt-get update \
40+
# && apt-get install -y --no-install-recommends libssl-dev=3.0.2-0ubuntu1.13 ca-certificates=20230311ubuntu0.22.04.1 \
41+
# && apt-get clean \
42+
# && rm -rf /var/lib/apt/lists/*
4343

4444
COPY --from=build /build .
4545
COPY --from=build /build/packages ./packages

packages/bot/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@discordjs/opus": "^0.9.0",
2424
"@discordjs/voice": "^0.16.0",
2525
"@js-temporal/polyfill": "^0.4.3",
26-
"@sentry/node": "^7.91.0",
2726
"date-fns": "^3.0.0",
2827
"deep-equal": "^2.2.2",
2928
"discord.js": "^14.7.1",

packages/bot/src/server/index.ts

-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { generateDependencyReport } from '@discordjs/voice';
2-
import * as Sentry from '@sentry/node';
32
import { Client, GatewayIntentBits, REST, Routes, version } from 'discord.js';
43
import dotenv from 'dotenv';
54
import { join } from 'node:path';
@@ -126,10 +125,6 @@ const intents = [
126125

127126
const client = new Client({ intents });
128127

129-
Sentry.init({
130-
dsn: 'https://[email protected]/3'
131-
});
132-
133128
const typoRepo = new InMemoryTypoRepository();
134129
registry.add(typoRepositoryKey, typoRepo);
135130
const reservationRepo = new InMemoryReservationRepository();

pnpm-lock.yaml

-45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)