From f0cfd48cb193f8bbba320fe14a955f582d9a7dbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Torma=20Krist=C3=B3f?= <tormakristof@tormakristof.eu>
Date: Thu, 14 Nov 2019 17:18:07 +0100
Subject: [PATCH] fix all the things

---
 .dockerignore |  2 ++
 .gitignore    |  2 ++
 app.py        | 10 ++++++----
 3 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100644 .dockerignore

diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..0636e7a
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,2 @@
+      .git/
+      .idea/
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 894a44c..4ad6467 100644
--- a/.gitignore
+++ b/.gitignore
@@ -102,3 +102,5 @@ venv.bak/
 
 # mypy
 .mypy_cache/
+
+.idea/
\ No newline at end of file
diff --git a/app.py b/app.py
index 7dd9758..b7a9847 100644
--- a/app.py
+++ b/app.py
@@ -1,10 +1,12 @@
 from flask import Flask
 app = Flask(__name__)
 
+
 @app.route("/")
-    def readfile():
-	with open("/data/file.txt",'r') as inputfile:
-	        return inputFile.readline()
+def readfile():
+        with open("/data/file.txt", 'r') as inputfile:
+            return inputfile.readline()
+
 
 if __name__ == "__main__":
-    app.run(host='0.0.0.0', port=8080)
+    app.run(host='0.0.0.0', port=8080)
\ No newline at end of file
-- 
GitLab