From 04f16a786d265813398fe2aad5b4b9955e144b22 Mon Sep 17 00:00:00 2001 From: James Fulton Date: Mon, 29 Jan 2024 11:08:11 +0000 Subject: [PATCH 1/2] add unzip --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c555692..a6e77f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ SHELL ["/bin/bash", "-l", "-c"] RUN apt-get update RUN apt-get install git -y -RUN apt-get install g++ gcc libgeos++-dev libproj-dev proj-data proj-bin -y +RUN apt-get install unzip g++ gcc libgeos++-dev libproj-dev proj-data proj-bin -y # Copy files COPY setup.py app/setup.py @@ -31,4 +31,4 @@ RUN pip install -e . RUN if [ "$TESTING" = 1 ]; then pip install pytest pytest-cov coverage; fi -CMD ["python", "-u","pvnet_app/app.py"] \ No newline at end of file +CMD ["python", "-u","pvnet_app/app.py"] From be6c4673173fee47b096dc6e5b4eddc3f9ee090c Mon Sep 17 00:00:00 2001 From: James Fulton Date: Mon, 29 Jan 2024 12:14:04 +0000 Subject: [PATCH 2/2] use older pydantic --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 7ed90a3..c478a1c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +pydantic<2.0 torch[cpu]>=2.0.0 PVNet-summation==0.1.* pvnet>=2.6.7,<2.7