From 679cb1b94a93576b41a139a7d21f73296a88271b Mon Sep 17 00:00:00 2001 From: rozetko Date: Thu, 30 Aug 2018 22:37:43 +0300 Subject: [PATCH] Actualize Dockerfile - set explicit python version - rm unneeded volumes - add /var/www/data/ volume --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41e9e11..9c2ea4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,8 @@ -FROM python:3 +FROM python:3.7 EXPOSE 8000 -VOLUME [ \ - "/var/www/data/analytic_units", \ - "/var/www/data/datasets", \ - "/var/www/data/metrics", \ - "/var/www/data/models", \ - "/var/www/data/segments" \ -] +VOLUME [ "/var/www/data" ] COPY . /var/www