[nominatim-web] Bump to python 3.10
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nominatim-web] Bump to python 3.10
- Date: Sun, 6 Feb 2022 15:27:47 +0000 (UTC)
commit 9b856af347f0b0e41a50533dec746018ad060ee6
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Sun Feb 6 16:27:19 2022 +0100
Bump to python 3.10
Dockerfile | 7 +++----
requirements.txt | 15 ---------------
2 files changed, 3 insertions(+), 19 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 848bdb0..af60f30 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,15 +1,14 @@
-FROM python:3.9 as builder
+FROM python:3.10 as builder
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential libpq-dev
-ADD requirements.txt /requirements.txt
RUN python -m venv /venv && \
- /venv/bin/pip install -r requirements.txt \
+ /venv/bin/pip install fastapi uniqorn requests redis hiredis psycopg2
&& rm -f /requirements.txt
-FROM python:3.9-slim
+FROM python:3.10-slim
EXPOSE 8000
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]