From 7cb2093d0702b4826493dd1b83d482e9eeb70748 Mon Sep 17 00:00:00 2001 From: Goran Nushkov Date: Mon, 26 Nov 2018 13:02:24 +0100 Subject: [PATCH] Installation example fix --- docs/Introduction-InstallationAndSetup.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/Introduction-InstallationAndSetup.md b/docs/Introduction-InstallationAndSetup.md index 34a95c9..171434a 100644 --- a/docs/Introduction-InstallationAndSetup.md +++ b/docs/Introduction-InstallationAndSetup.md @@ -121,7 +121,7 @@ We're going to implement a simple "hello world" action in Flask. When running the microservice inside the platform, we need to register it to the API Gateway. To do this, we use Microkubes own Python [library](https://github.com/Microkubes/microkubes-python). -Edit ```setup.py``` and put: +Edit ```service.py``` and put: ```python @@ -157,8 +157,12 @@ Edit the ```Dockerfile``` and put: ```Dockerfile FROM python:3.7-slim-stretch +# Install git +RUN apt-get update && apt-get install -y git + # Install microkubes-python RUN pip install "git+https://github.com/Microkubes/microkubes-python#egg=microkubes-python" + # Install flask RUN pip install Flask