Skip to content

Commit

Permalink
测试支持docker kawhii#44
Browse files Browse the repository at this point in the history
  • Loading branch information
kawhii committed Dec 5, 2017
1 parent 5353334 commit b6a52a4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
**/logs/
*.log
.github/

.travis.yml
_config.yml
build.cmd
LICENSE
**/README.md
original-files/
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM java:8
MAINTAINER Kawhii Carl ([email protected])
RUN apt-get update
RUN apt-get install -y maven
COPY .* /usr/local/service
WORKDIR /usr/local/service
RUN mvn install
RUN java -jar sso-config/target/ sso-config.jar &
CMD ["java","-jar","sso-server/target/cas.war"]

0 comments on commit b6a52a4

Please sign in to comment.