Skip to content

Commit

Permalink
new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
depareddy committed Dec 8, 2017
1 parent 81bf10c commit b697a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM java:8

RUN curl -O http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.20/bin/apache-tomcat-8.0.20.tar.gz
RUN tar xzf apache-tomcat-8.0.20.tar.gz
COPY target/*.war apache-tomcat-8.0.20/webapps/simplewebapp.war
COPY simplewebapp.war apache-tomcat-8.0.20/webapps/simplewebapp.war
EXPOSE 8080
CMD apache-tomcat-8.0.20/bin/startup.sh && tail -f apache-tomcat-8.0.20/logs/catalina.out
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ phases:
- eval $(aws ecr get-login)
build:
commands:
- mvn clean package
- aws s3 cp s3://docker-ecs-simple/simplewebapp.war simplewebapp.war
post_build:
commands:
- echo Build started on `date`
Expand Down

0 comments on commit b697a4f

Please sign in to comment.