add python version in Dockerfile and change PYTHONUNBUFFERED value to 1

This commit is contained in:
mitsuha_s 2022-07-22 13:43:03 +00:00
parent b8c91b351a
commit dcba2e3b80

View file

@ -1,4 +1,4 @@
FROM python:alpine FROM python:3.10-alpine
WORKDIR /bot WORKDIR /bot
@ -6,7 +6,7 @@ COPY . .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
ENV PYTHONUNBUFFERED='a' ENV PYTHONUNBUFFERED=1
ENTRYPOINT [ "python" ] ENTRYPOINT [ "python" ]