You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
325 B
21 lines
325 B
6 years ago
|
FROM python:3.6.6
|
||
|
|
||
|
WORKDIR /var/www/analytics
|
||
|
|
||
|
COPY ./requirements.txt /var/www/analytics
|
||
|
|
||
|
RUN pip install -r requirements.txt \
|
||
|
&& apt-get update && apt-get install -y \
|
||
|
apt-utils \
|
||
|
gnupg \
|
||
|
curl \
|
||
|
make \
|
||
|
g++ \
|
||
|
git
|
||
|
|
||
|
VOLUME [ "/var/www/data" ]
|
||
|
|
||
|
COPY . /var/www/analytics/
|
||
|
|
||
|
CMD ["python", "server.py"]
|