Skip to content

Commit

Permalink
Fix: 서버 locale 한국으로 변경
Browse files Browse the repository at this point in the history
Fix: 서버 locale 한국으로 변경

Fix: 서버 locale 한국으로 변경

Fix: 서버 locale 한국으로 변경
  • Loading branch information
nohy6630 committed May 8, 2024
1 parent ff6d5c7 commit 956cc44
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
FROM openjdk:17

# locales 패키지 설치 및 한국어 로케일 생성
RUN yum update && yum install locales
RUN apt-get install -y \
language-pack-ko && \
dpkg-reconfigure locales && \
locale-gen ko_KR.UTF-8 && \
/usr/sbin/update-locale LANG=ko_KR.UTF-8

ENV LANG=ko_KR.UTF-8 \
LANGUAGE=ko_KR.UTF-8 \
LC_ALL=ko_KR.UTF-8 \
PYTHONIOENCODING=utf-8

COPY build/libs/backend-0.0.1-SNAPSHOT.jar app.jar
CMD ["java", "-jar", "app.jar"]

0 comments on commit 956cc44

Please sign in to comment.