update python to 3.8

This commit is contained in:
terrydavis 2024-02-22 19:12:10 +01:00
parent 1c1cd62454
commit 655484b1ef

View file

@ -1,4 +1,4 @@
FROM python:3.7 FROM python:3.8
WORKDIR /app WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
@ -7,4 +7,4 @@ RUN pip install -r requirements.txt
COPY . . COPY . .
EXPOSE 1337 EXPOSE 1337
CMD ["hypercorn", "--access-logfile", "-", "--workers", "1", "--bind", "0.0.0.0:1337", "asgi:app"] CMD ["hypercorn", "--access-logfile", "-", "--workers", "1", "--bind", "0.0.0.0:1337", "asgi:app"]