changed dockerfile to use python3.11

This commit is contained in:
StNicolay 2022-10-29 22:09:16 +00:00
parent 796aa79db0
commit 394990c3ac

View File

@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.11-slim
# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1
@ -23,4 +23,4 @@ COPY . /app
RUN adduser -u 1000 --disabled-password --gecos "" appuser && chown -R appuser /app
USER appuser
CMD ["python", "main.py"]
CMD ["python", "main.py"]