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
1 change: 1 addition & 0 deletions .dockerignore
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM tensorflow/tensorflow:1.15.0-gpu-py3
ARG INSTALLDIR="/app/virtual_sketching"

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC && \
apt-get update && \
apt-get install -y --no-install-recommends \
libsm6 libxext6 libxrender-dev libcairo2 python3-dev libffi-dev time \
&& \
rm -rf /var/lib/apt/lists/*

COPY . $INSTALLDIR

WORKDIR $INSTALLDIR

RUN pip install -U pip wheel \
&& pip install -r requirements.txt \
&& pip cache purge

STOPSIGNAL SIGINT
ENTRYPOINT test_vectorization.py
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
opencv-python==3.4.2.17
pillow==6.2.0
scipy==1.5.2
gizeh==0.1.11
matplotlib>=3.0.0,<4.0