summaryrefslogtreecommitdiffstats
path: root/mock-cds/Dockerfile
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-13 11:00:21 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-14 14:25:16 +0000
commit870ff702088b89549bc21631eb48443fff0bcd71 (patch)
tree5d52aca25035644bdc2ac687275ed858ba524e7e /mock-cds/Dockerfile
parent98e0e65ba145ab4c85c301118d4a0d02940221ec (diff)
Migrate mock applications from Orange GitLab
Move from Orange repositories into ONAP one. Issue-ID: INT-2208 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6e165da5144c28a6ff151e02e32f5ae89ce124e3
Diffstat (limited to 'mock-cds/Dockerfile')
-rw-r--r--mock-cds/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/mock-cds/Dockerfile b/mock-cds/Dockerfile
new file mode 100644
index 0000000..4a396bb
--- /dev/null
+++ b/mock-cds/Dockerfile
@@ -0,0 +1,17 @@
+FROM python:3.7.8-alpine
+
+COPY . /app
+WORKDIR /app
+
+# GCC for Alpine Linux in Docker
+RUN apk add build-base
+
+
+# Dependencies
+RUN pip install pipenv && \
+ pipenv requirements > requirements.txt && \
+ pip install -r requirements.txt
+
+
+ENTRYPOINT ["python"]
+CMD ["app/app.py"] \ No newline at end of file