Skip to content

Commit b564638

Browse files
committed
Add dockerfile
1 parent fa7f545 commit b564638

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: Dockerfile

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM python:2.7
2+
3+
RUN pip install pyyaml requests
4+
5+
RUN mkdir -p /usr/src/app
6+
WORKDIR /usr/src/app
7+
COPY . /usr/src/app
8+
RUN python setup.py install
9+
10+
VOLUME ["/data"]
11+
12+
ENV FABFILE_PATH "/data/fabfile.py"
13+
14+
CMD ["fabric-remote-server"]
15+
16+
EXPOSE 1234

0 commit comments

Comments
 (0)