16 lines
339 B
Text
16 lines
339 B
Text
FROM python:3.12-alpine
|
|
USER root
|
|
|
|
RUN mkdir /dislocker
|
|
|
|
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
|
|
|
|
RUN python -m pip install flask psycopg2-binary requests
|
|
|
|
WORKDIR /dislocker
|
|
CMD python -u ./dislocker_auth.py
|