Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
web-service-demo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNL
web-service-demo
Commits
9f5f6761
Verified
Commit
9f5f6761
authored
5 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Compile rdf-vocabulary
Fix
#9
parent
1c9a337d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env.sample
+1
-0
1 addition, 0 deletions
.env.sample
Dockerfile
+13
-7
13 additions, 7 deletions
Dockerfile
docker-compose.yml
+2
-1
2 additions, 1 deletion
docker-compose.yml
with
16 additions
and
8 deletions
.env.sample
+
1
−
0
View file @
9f5f6761
...
@@ -2,3 +2,4 @@ RESTART=no
...
@@ -2,3 +2,4 @@ RESTART=no
APP_DEBUG=false
APP_DEBUG=false
DEV_PORT=5000
DEV_PORT=5000
GIT_REF=master
GIT_REF=master
GIT_REF_VOCABULARY=master
This diff is collapsed.
Click to expand it.
Dockerfile
+
13
−
7
View file @
9f5f6761
...
@@ -16,16 +16,22 @@ RUN apt-get install -y \
...
@@ -16,16 +16,22 @@ RUN apt-get install -y \
WORKDIR
/opt
WORKDIR
/opt
RUN
git clone https://gitlab.tetras-libre.fr/unl/unl2rdf
WORKDIR
/opt/unl2rdf
RUN
git clone https://gitlab.tetras-libre.fr/unl/unlTools
ARG
GIT_REF=master
RUN
git clone https://gitlab.tetras-libre.fr/unl/rdf-vocabulary
WORKDIR
/opt/rdf-vocabulary
ARG
GIT_REF_VOCABULARY=master
RUN
git pull
RUN
git pull
&&
git checkout
$GIT_REF_VOCABULARY
&&
mvn
install
RUN
git checkout
$GIT_REF
WORKDIR
/opt/unlTools
ARG
GIT_REF=master
RUN
mvn package
RUN
git pull
&&
git checkout
$GIT_REF
&&
mvn package
FROM
base
FROM
base
...
@@ -46,7 +52,7 @@ RUN a2dissite 000-default
...
@@ -46,7 +52,7 @@ RUN a2dissite 000-default
RUN
a2ensite flask
RUN
a2ensite flask
COPY
--from=builder /opt/unl
2rdf
/unl2rdf-app/target/unl2rdf-app-*-with-dependencies.jar /opt/unl2rdf.jar
COPY
--from=builder /opt/unl
Tools
/unl2rdf-app/target/unl2rdf-app-*-with-dependencies.jar /opt/unl2rdf.jar
# Force code reloading
# Force code reloading
RUN
sed
-i
's/^\(\s*MaxConnectionsPerChild\s*\) 0/\1 1/g'
/etc/apache2/mods-enabled/mpm_event.conf
RUN
sed
-i
's/^\(\s*MaxConnectionsPerChild\s*\) 0/\1 1/g'
/etc/apache2/mods-enabled/mpm_event.conf
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
2
−
1
View file @
9f5f6761
...
@@ -6,7 +6,8 @@ services:
...
@@ -6,7 +6,8 @@ services:
build
:
build
:
context
:
.
context
:
.
args
:
args
:
GIT_REF
:
${GIT_REF}
GIT_REF
:
GIT_REF_VOCABULARY
:
volumes
:
volumes
:
-
"
./src:/var/www/app"
-
"
./src:/var/www/app"
environment
:
environment
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment