Commit efa74463 authored by Dimitrios Laskaratos's avatar Dimitrios Laskaratos
Browse files

Merge branch 'dev' into 'main'

Added gitlab CI file

See merge request !6
parents 4cebcdfd d8c119c6
Loading
Loading
Loading
Loading
Loading

Dockerfile

0 → 100644
+25 −0
Original line number Diff line number Diff line
FROM python:3.12-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY requirements.txt /usr/src/app/
ENV PYTHONUNBUFFERED=1

RUN python3 -m venv .venv
RUN source .venv/bin/activate

RUN pip3 install --upgrade pip

RUN pip3 install wheel --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org

RUN pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org --no-cache-dir -r requirements.txt

COPY . /usr/src/app

EXPOSE 8080

ENTRYPOINT ["python3"]

CMD ["-m", "service-resource-manager-implementation/src"]

requirements.txt

0 → 100644
+8 −0
Original line number Diff line number Diff line
connexion<3.0.0
connexion[swagger-ui]
setuptools >= 21.0.0
requests==2.32.4
psycopg2-binary
urllib3 
pydantic-extra-types==2.10.3
sunrise6g-opensdk==1.0.2.post3
 No newline at end of file