Loading TS29222_AEF_Security_API/Dockerfile +5 −2 Original line number Diff line number Diff line Loading @@ -5,15 +5,18 @@ WORKDIR /usr/src/app # Create necessary folders in a single RUN instruction RUN mkdir -p aef_security/certs aef_security/provider RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* # For faster builds when only Python code changes: # 1. First copy only requirements.txt and custom_libs, install dependencies and SDK. # 2. Then copy the rest of the Python code, so Docker caches the dependency layers. # Example: COPY requirements.txt ./ COPY custom_libs/opencapif_sdk-0.1.22-py3-none-any.whl custom_libs/ # Install requirements + SDK official from Git RUN pip3 install --no-cache-dir -r requirements.txt && \ pip3 install custom_libs/opencapif_sdk-0.1.22-py3-none-any.whl pip3 install --no-cache-dir git+https://labs.etsi.org/rep/ocf/sdk.git # Copy only the Python source code (adjust the path if you have other files) COPY aef_security/ aef_security/ Loading TS29222_AEF_Security_API/custom_libs/opencapif_sdk-0.1.22-py3-none-any.whldeleted 100644 → 0 −38.7 KiB File deleted. View file TS29222_AEF_Security_API/custom_libs/opencapif_sdk-0.1.22.tar.gzdeleted 100644 → 0 −42.5 KiB File deleted. View file TS29222_AEF_Security_API/requirements.txt +2 −2 Original line number Diff line number Diff line connexion[flask,swagger-ui,uvicorn]==3.1.0 Flask==3.0.3 Werkzeug==3.0.6 Flask>=3.1.2,<4 Werkzeug>=3.1.2,<4 gunicorn==23.0.0 asgiref>=3.7 cryptography==43.0.1 Loading Loading
TS29222_AEF_Security_API/Dockerfile +5 −2 Original line number Diff line number Diff line Loading @@ -5,15 +5,18 @@ WORKDIR /usr/src/app # Create necessary folders in a single RUN instruction RUN mkdir -p aef_security/certs aef_security/provider RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* # For faster builds when only Python code changes: # 1. First copy only requirements.txt and custom_libs, install dependencies and SDK. # 2. Then copy the rest of the Python code, so Docker caches the dependency layers. # Example: COPY requirements.txt ./ COPY custom_libs/opencapif_sdk-0.1.22-py3-none-any.whl custom_libs/ # Install requirements + SDK official from Git RUN pip3 install --no-cache-dir -r requirements.txt && \ pip3 install custom_libs/opencapif_sdk-0.1.22-py3-none-any.whl pip3 install --no-cache-dir git+https://labs.etsi.org/rep/ocf/sdk.git # Copy only the Python source code (adjust the path if you have other files) COPY aef_security/ aef_security/ Loading
TS29222_AEF_Security_API/custom_libs/opencapif_sdk-0.1.22-py3-none-any.whldeleted 100644 → 0 −38.7 KiB File deleted. View file
TS29222_AEF_Security_API/custom_libs/opencapif_sdk-0.1.22.tar.gzdeleted 100644 → 0 −42.5 KiB File deleted. View file
TS29222_AEF_Security_API/requirements.txt +2 −2 Original line number Diff line number Diff line connexion[flask,swagger-ui,uvicorn]==3.1.0 Flask==3.0.3 Werkzeug==3.0.6 Flask>=3.1.2,<4 Werkzeug>=3.1.2,<4 gunicorn==23.0.0 asgiref>=3.7 cryptography==43.0.1 Loading