18 lines
443 B
Docker
18 lines
443 B
Docker
FROM ubuntu:16.04
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y python3.5 python3.5-dev python3-pip python3-setuptools
|
|
# RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
RUN pip3 install flask
|
|
|
|
COPY simulation /app/simulation
|
|
COPY demo_server_run.py /app/demo_server_init.py
|
|
|
|
WORKDIR /app
|
|
|
|
ENV MEMGRAPH_DEMO prod
|
|
|
|
# uwsgi --http-socket 0.0.0.0:8080 --module demo_server_init:app --master --enable-threads
|
|
CMD ["python3", "demo_server_init.py"]
|