Add subscription and notification for resource changes; fix a bug while pserver node...
[pti/o2.git] / mock_smo / Dockerfile
diff --git a/mock_smo/Dockerfile b/mock_smo/Dockerfile
new file mode 100644 (file)
index 0000000..74d6b61
--- /dev/null
@@ -0,0 +1,23 @@
+FROM python:3.10-slim-buster\r
+\r
+RUN apt-get update; apt-get install -y git gcc\r
+\r
+COPY requirements.txt /tmp/\r
+RUN  pip install -r /tmp/requirements.txt \r
+\r
+# COPY requirements-test.txt /tmp/\r
+# RUN pip install -r /tmp/requirements-test.txt\r
+\r
+RUN mkdir -p /src\r
+COPY mock_smo/ /src/mock_smo/\r
+\r
+COPY setup.py o2app-mock-smo.sh /src/\r
+RUN pip install -e /src\r
+\r
+COPY etc/ /etc/mock_smo/\r
+\r
+# COPY tests/ /tests/\r
+\r
+# RUN apt-get install -y procps vim\r
+\r
+WORKDIR /src\r