From 5567ddbb3ad63c23b5273fc4454b903355529627 Mon Sep 17 00:00:00 2001 From: Isanka Date: Thu, 17 Oct 2024 02:55:26 +0900 Subject: [PATCH] set timezone to JST --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 14f80fc..aae5645 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,13 @@ RUN cargo build --release # Production Stage FROM rust:latest +ENV DEBIAN_FRONTEND=noninteractive + RUN apt-get update && apt-get install -y \ librocksdb-dev \ + tzdata \ + && ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime \ + && echo "Asia/Tokyo" > /etc/timezone \ && rm -rf /var/lib/apt/lists/* WORKDIR /app