diff --git a/Makefile b/Makefile index 1a00479..8ecd87f 100644 --- a/Makefile +++ b/Makefile @@ -5,3 +5,10 @@ pylint: pytest: PYTHONDONTWRITEBYTECODE=1 pytest -v --color=yes + + +docker_build: + docker build -t $(IMAGE_URI) . + +docker_run: + docker run -it -e PORT=8000 -p 8080:8000 $(IMAGE_URI) diff --git a/api/fast.py b/api/fast.py index dc3b65e..306c701 100644 --- a/api/fast.py +++ b/api/fast.py @@ -16,7 +16,7 @@ @app.get('/') def root(): response = { - 'greeting': 'Servus, griaß di!', # This is a typical Bavarian greeting ;) + 'greeting': 'Bonjour à tous et à toutes!', # This is a typical French greeting ;) 'timestamp': datetime.now() } diff --git a/tests/test_api_root.py b/tests/test_api_root.py index 87bc7b3..8d48e6b 100644 --- a/tests/test_api_root.py +++ b/tests/test_api_root.py @@ -6,7 +6,7 @@ class TestApiRoot(unittest.TestCase): def test_api_root(self): - # Adding a 15s sleep timer to ensure + # Adding a 15s sleep timer to ensure # that the container has time to start up time.sleep(15)