Skip to content

Commit 0d9f78a

Browse files
committed
feat(docker): Add Dockerfile
1 parent 3b04a9d commit 0d9f78a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.git
2+
Dockerfile

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM python:2.7
2+
3+
RUN apt-get -y update \
4+
&& apt-get install -y libqt4-dev cmake xvfb
5+
6+
COPY . /sharppy
7+
8+
WORKDIR /sharppy
9+
RUN pip install numpy pyside==1.2.4
10+
RUN python setup.py install
11+
12+
WORKDIR /sharppy/runsharp
13+
CMD python full_gui.py

0 commit comments

Comments
 (0)