-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 899 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
maven_builder:
image: maven:3-jdk-8 # Imagen oficial con Maven 3 y JDK 8
container_name: maven_build_java8
working_dir: /usr/src/app # Directorio de trabajo dentro del contenedor
networks:
- Ontology_group
volumes:
- .:/usr/src/app
- maven_cache:/root/.m2
- ontology_hub_folder:/app
command: >
/bin/bash -c "
mkdir -p src/main/resources/queries/rdf2es &&
cp lov.example.config lov.config &&
sh createQueries.sh &&
mvn clean package -DskipTests &&
cp -r target/lovscripts-cli/lovscripts/* /app/scripts/ &&
cp lov.example.config /app/scripts/lov.config &&
bash /app/setup/lovInitialization.sh
"
networks:
Ontology_group:
external: true
name: Ontology_group_network
volumes:
ontology_hub_folder:
external: true
name: ontology_hub_folder
maven_cache: