Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd8b205

Browse filesBrowse files
committed
add dockerfile to repo for new tutor
1 parent dbe75b3 commit bd8b205
Copy full SHA for bd8b205

1 file changed

+15Lines changed: 15 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Dockerfile‎

Copy file name to clipboard
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM maven
2+
3+
ENV APP_DIR /src/app/
4+
5+
RUN mkdir -p $APP_DIR
6+
7+
COPY ./pom.xml ${APP_DIR}
8+
9+
WORKDIR ${APP_DIR}
10+
11+
RUN ["mvn", "compile"]
12+
13+
COPY . .
14+
15+
CMD ["mvn", "-T", "1C", "clean", "package", "tomcat7:run"]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.