Browse Source

Actualize Dockerfile

- set explicit python version
- rm unneeded volumes
- add /var/www/data/ volume
pull/1/head
rozetko 6 years ago
parent
commit
679cb1b94a
  1. 10
      Dockerfile

10
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

Loading…
Cancel
Save