summaryrefslogtreecommitdiffstats
path: root/mod/onboardingapi/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/onboardingapi/Dockerfile')
-rw-r--r--mod/onboardingapi/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/mod/onboardingapi/Dockerfile b/mod/onboardingapi/Dockerfile
new file mode 100644
index 0000000..606ca5b
--- /dev/null
+++ b/mod/onboardingapi/Dockerfile
@@ -0,0 +1,12 @@
+FROM python:3.7-alpine
+
+RUN apk update && \
+ apk add --virtual build-deps gcc python-dev musl-dev && \
+ apk add postgresql-dev bash
+COPY . /code
+WORKDIR /code
+RUN pip install . \
+ && mkdir -p ~/.config/dcae-cli
+EXPOSE 80
+
+CMD /code/start.sh