Commit f0cedf66 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

fix: use ETSI TF SDK registry

parent 21156685
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -34,8 +34,10 @@ RUN apt-get update && apt-get install -y \
  && rm -rf /var/lib/apt/lists/*
# Copy application code
COPY . . 
# Install Python dependencies
RUN python -m pip install --no-cache-dir -r requirements.txt
# Install Python dependencies (use ETSI GitLab registry for TF SDK)
RUN python -m pip install --no-cache-dir -r requirements.txt \
  --extra-index-url https://labs.etsi.org/rep/api/v4/projects/396/packages/pypi/simple \
  --trusted-host labs.etsi.org
WORKDIR /usr/app/src/
EXPOSE 8989
# Set Gunicorn as the entrypoint
+3 −1
Original line number Diff line number Diff line
@@ -44,7 +44,9 @@ COPY . .
RUN pip install --no-cache-dir /tmp/tf-sdk

# Install remaining Python dependencies (TF-SDK will be skipped since already installed)
RUN python -m pip install --no-cache-dir -r requirements.txt
RUN python -m pip install --no-cache-dir -r requirements.txt \
  --extra-index-url https://labs.etsi.org/rep/api/v4/projects/396/packages/pypi/simple \
  --trusted-host labs.etsi.org

# Clean up
RUN rm -rf /tmp/tf-sdk
+2 −1
Original line number Diff line number Diff line
@@ -36,7 +36,8 @@ referencing==0.32.0
requests==2.32.4
rpds-py==0.13.2
six==1.16.0
sunrise6g-opensdk==1.0.10
setuptools==80.9.0
sunrise6g-opensdk==1.0.21
swagger-ui-bundle==0.0.9
urllib3==2.1.0
Werkzeug==2.2.3