File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ RUN sh -c '\
23
23
else \
24
24
echo "No specific tag supplied, using the latest version"; \
25
25
fi'
26
- RUN mvn clean package
26
+
27
+ # Build only the uber war
28
+ RUN mvn clean install
29
+ RUN mvn package -pl hefquin-service -P build-war
27
30
28
31
# # Use tomcat:latest for running
29
32
FROM tomcat:latest
Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ services:
11
11
# TAG: docker-test
12
12
ports :
13
13
- " 8080:8080"
14
- volumes :
15
- # ## If you want to use configuration files other than the default ones
16
- # ## or a federation description other than the default one, uncomment
17
- # ## the following three lines and change their respective first parts
18
- # ## to refer to the files that you want to use.
19
- # - ../hefquin-service/src/main/resources/config.properties:/usr/local/tomcat/webapps/ROOT/config.properties
20
- # - ../hefquin-service/src/main/resources/DefaultEngineConf.ttl:/usr/local/tomcat/webapps/ROOT/ExampleEngineConf.ttl
21
- # - ../hefquin-service/src/main/resources/DefaultFedConf.ttl:/usr/local/tomcat/webapps/ROOT/ExampleFedConf.ttl
14
+ # ## If you want to use configuration files other than the default ones
15
+ # ## or a federation description other than the default one, uncomment
16
+ # ## the following three lines and change their respective first parts
17
+ # ## to refer to the files that you want to use.
18
+ # volumes:
19
+ # - ../hefquin-service/src/main/resources/DefaultEngineConf.ttl:/usr/local/tomcat/webapps/ROOT/DefaultEngineConf.ttl
20
+ # - ../hefquin-service/src/main/resources/DefaultFedConf.ttl:/usr/local/tomcat/webapps/ROOT/DefaultFedConf.ttl
You can’t perform that action at this time.
0 commit comments