Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM tensorflow/tensorflow:latest-devel-py3

RUN pip install gunicorn
RUN pip install picasso-viz

EXPOSE 80
ENTRYPOINT gunicorn picasso:app --bind=0.0.0.0:80
12 changes: 12 additions & 0 deletions docker/Dockerfile-tensorflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM tensorflow/tensorflow:latest-devel-py3

RUN pip install gunicorn
RUN pip install picasso-viz

ENV EXAMPLE_DIR /usr/local/lib/python3.5/dist-packages/picasso/examples/tensorflow

ENV PICASSO_SETTINGS $EXAMPLE_DIR/config.py

EXPOSE 80

ENTRYPOINT gunicorn picasso:app --bind=0.0.0.0:80
14 changes: 14 additions & 0 deletions docker/Dockerfile-vgg16
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM tensorflow/tensorflow:latest-devel-py3

RUN pip install gunicorn
RUN pip install picasso-viz

ENV EXAMPLE_DIR /usr/local/lib/python3.5/dist-packages/picasso/examples/keras-vgg16

RUN python3 $EXAMPLE_DIR/prepare_model.py

ENV PICASSO_SETTINGS $EXAMPLE_DIR/config.py

EXPOSE 80

ENTRYPOINT gunicorn picasso:app --bind=0.0.0.0:80