diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..331d3872 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..a5435ae5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:2.7 + +RUN apt-get -y update \ + && apt-get install -y libqt4-dev cmake xvfb + +RUN pip install numpy==1.13 pyside==1.2.4 + +COPY . /sharppy +WORKDIR /sharppy +RUN python setup.py install + +WORKDIR /sharppy/runsharp +CMD python full_gui.py