-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from xiyangxixian/dev
增加 docker file
- Loading branch information
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM centos:7 | ||
MAINTAINER becivells <[email protected]> | ||
|
||
RUN yum install -y epel-release && yum install -y python-pip git | ||
|
||
RUN git clone https://github.com/xiyangxixian/soar-web.git /opt/soar-web | ||
RUN cd /opt/soar-web && pip install -r requirement.txt | ||
RUN chmod -R 755 /opt/soar-web | ||
EXPOSE 5077 | ||
CMD ["python","/opt/soar-web/soar-web.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters