Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit 2a44bef

Browse files
committed
fix: デプロイ用のコンテナにCA証明書が含まれていなかったのを修正した
1 parent f40d5ef commit 2a44bef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deploy.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ RUN go build -trimpath -ldflags "-w -s" -o app
1010

1111
FROM debian:bullseye-slim
1212

13+
RUN apt-get update \
14+
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq ca-certificates openssl \
15+
&& apt-get clean \
16+
&& rm -rf /var/lib/apt/lists/*
17+
1318
COPY --from=builder /app/app .
1419

1520
EXPOSE 8080

0 commit comments

Comments
 (0)