diff --git a/Dockerfile_auth b/Dockerfile_auth index 51ddb85..1287c10 100644 --- a/Dockerfile_auth +++ b/Dockerfile_auth @@ -1,10 +1,11 @@ -FROM python:3.12 +FROM python:3.12-alpine USER root RUN mkdir /dislocker -ENV TZ JST-9 -ENV TERM xterm +RUN apk --no-cache add tzdata +RUN cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime +RUN apk del tzdata RUN pip install --upgrade pip RUN pip install --upgrade setuptools diff --git a/Dockerfile_bot b/Dockerfile_bot index ac45332..e00c09a 100644 --- a/Dockerfile_bot +++ b/Dockerfile_bot @@ -1,10 +1,11 @@ -FROM python:3.12 +FROM python:3.12-alpine USER root RUN mkdir /dislocker -ENV TZ JST-9 -ENV TERM xterm +RUN apk --no-cache add tzdata +RUN cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime +RUN apk del tzdata RUN pip install --upgrade pip RUN pip install --upgrade setuptools