From fd51e78f713fdd130258fa56dcbf3936da38d980 Mon Sep 17 00:00:00 2001 From: SonOfLope Date: Tue, 8 Oct 2024 14:17:02 -0400 Subject: [PATCH 1/2] Issue #126: updates reference with new monorepo modules structure and updates requirements ref --- requirements.txt | 2 +- storage/datastore_storage_api.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1291083..adf3c05 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,4 +10,4 @@ cryptography pyyaml pydantic python-magic -nachet-datastore @git+https://github.com/ai-cfia/ailab-datastore.git@main +nachet-datastore @git+https://github.com/ai-cfia/ailab-datastore.git@v1.0.0-nachet-datastore diff --git a/storage/datastore_storage_api.py b/storage/datastore_storage_api.py index ddfdfb2..b609309 100644 --- a/storage/datastore_storage_api.py +++ b/storage/datastore_storage_api.py @@ -5,11 +5,11 @@ import datastore from datastore import db from datastore import user as user_datastore -from datastore import nachet as nachet_datastore -import datastore.bin.deployment_mass_import +import nachet as nachet_datastore +import nachet.bin.deployment_mass_import import datastore.bin.upload_picture_set -import datastore.db.queries.seed as seed_queries +import nachet.db.queries.seed as seed_queries class DatastoreError(Exception): pass From 4da919edbca44f92b48c317e4ab1c81b34e745c0 Mon Sep 17 00:00:00 2001 From: SonOfLope Date: Tue, 8 Oct 2024 17:12:37 -0400 Subject: [PATCH 2/2] Issue #126: Updates with valid dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c8b018..ed81944 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3 +FROM python:3.11-bullseye WORKDIR /app @@ -9,7 +9,7 @@ ENV PYTHONPATH=/app COPY ./requirements.txt . -RUN pip3 install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir -r requirements.txt COPY . ./