From 84f422e002db3bbc7d2c33f360a41c526b76b708 Mon Sep 17 00:00:00 2001 From: parakite <70532411+parakite@users.noreply.github.com> Date: Sun, 29 Dec 2024 16:25:05 +0530 Subject: [PATCH] Update Dockerfile for Werkzeug version Added line RUN echo "Werkzeug==2.2.2" >> requirements.txt Otherwise on 'docker compose up' you get error about 'cannot import name 'url_quote' from 'werkzeug.urls'' --- docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 8252e27..3c947ba 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -46,6 +46,7 @@ WORKDIR /srv/nostrtool/python-nostr RUN git checkout dev WORKDIR /srv/nostrtool +RUN echo "Werkzeug==2.2.2" >> requirements.txt RUN /srv/.env/bin/pip install -r requirements.txt --no-cache-dir WORKDIR /srv/nostrtool/src