From 8a7be03de12c3c266af1161d380e79bd82149b33 Mon Sep 17 00:00:00 2001
From: Michele Carignani <michele.carignani@etsi.org>
Date: Wed, 15 May 2019 11:59:15 +0200
Subject: [PATCH] fixes to be deployed on Docker

---
 Dockerfile | 2 ++
 Readme.md  | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 085acd6..ff33a7c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,5 +32,7 @@ ENV LANG en_US.UTF-8
 ENV LANGUAGE en_US:en  
 ENV LC_ALL en_US.UTF-8
 
+RUN mkdir /tmp/upload
+
 ENTRYPOINT ["python3"]
 CMD ["web_app.py"]
diff --git a/Readme.md b/Readme.md
index 2093299..d3dd6f7 100644
--- a/Readme.md
+++ b/Readme.md
@@ -9,7 +9,7 @@ Build the image with
 
 Run the container with
 
-    docker run -d -p 5000:5000 tosca-ie-sample
+    docker run -d -t -p 5000:5000 tosca-ie-sample
 
 ## Run locally
 
@@ -19,4 +19,4 @@ Install prerequisites
 
 Run the web_app
 
-    python src/web_app.py
\ No newline at end of file
+    python src/web_app.py
-- 
GitLab