Skip to content

Commit

Permalink
chore: ロケールをUTF-8に設定する
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Mar 26, 2024
1 parent d41064a commit dfa9645
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/ap
RUN apt-get update && \
apt-get install -y sbt

# 日本語関連のパーケージをインストール
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
# ロケールをUTF-8に設定する
ENV LANG C.UTF-8

COPY --from=build-env --link /app/target/release/seichiassist-downloader /
CMD ["./seichiassist-downloader"]
Expand Down

0 comments on commit dfa9645

Please sign in to comment.