プログラムの設置先変更

This commit is contained in:
armonica committed 2026-09-05 13:08:17 +09:00
1 parent 63188d87f4
commit ef730787dd
7 files changed
+161 -59

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# .NET 10.0 ランタイムベースイメージ
FROM mcr.microsoft.com/dotnet/runtime:10.0 AS runtime
WORKDIR /app
# タイムゾーン設定 (JST) および必要なツールのインストール
RUN apt-get update && apt-get install -y --no-install-recommends \
tzdata \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/*
# 日本時間に設定
ENV TZ=Asia/Tokyo
# 発行済みバイナリをコンテナ内へ配置
COPY ./app .
# アプリケーション実行
ENTRYPOINT ["dotnet", "rss-generator.dll"]