From d41064ab83942abece26a72358ba3d0ee5d33085 Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Wed, 27 Mar 2024 01:31:05 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E3=83=AD=E3=82=B1=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 550abda..c236269 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,11 +31,12 @@ RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/ap RUN apt-get update && \ apt-get install -y sbt -# localeの設定 -RUN locale-gen en_US.UTF-8 -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +# 日本語関連のパーケージをインストール +RUN apt-get install -y language-pack-ja-base language-pack-ja + +# ロケールを日本語に設定する +RUN update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" && \ + echo "export LANG=ja_JP.UTF-8" >> /home/$USERNAME/.bashrc COPY --from=build-env --link /app/target/release/seichiassist-downloader / CMD ["./seichiassist-downloader"]