CI: Add SonarCloud scan GHA workflow
[pti/o2.git] / mock_smo / Dockerfile
1 FROM python:3.10-slim-buster
2
3 RUN apt-get update; apt-get install -y git gcc
4
5 COPY requirements.txt /tmp/
6 RUN  pip install -r /tmp/requirements.txt 
7
8 # COPY requirements-test.txt /tmp/
9 # RUN pip install -r /tmp/requirements-test.txt
10
11 RUN mkdir -p /src
12 COPY mock_smo/ /src/mock_smo/
13
14 COPY setup.py o2app-mock-smo.sh /src/
15 RUN pip install -e /src
16
17 COPY etc/ /etc/mock_smo/
18
19 # COPY tests/ /tests/
20
21 # RUN apt-get install -y procps vim
22
23 WORKDIR /src