21 lines
467 B
Docker
21 lines
467 B
Docker
FROM ubuntu:14.04
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y python3.4 python3.4-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_init.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
|
|
EXPOSE 8080
|
|
|
|
CMD ["python3", "demo_server_init.py"]
|