Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
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
savoirfairelinux
jami-jams
Commits
37715157
Commit
37715157
authored
1 year ago
by
Léo Banno-Cloutier
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile: idempotent copy
Change-Id: I5c0ef71538c1b3886787401f82ef29739948e961
parent
6ef73bf9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
README.md
+1
-1
1 addition, 1 deletion
README.md
with
3 additions
and
2 deletions
Dockerfile
+
2
−
1
View file @
37715157
...
...
@@ -37,7 +37,8 @@ CMD java -jar jams-launcher.jar & npm start --prefix ../jams-react-client
FROM
build
as
prod
WORKDIR
/app/jams-react-client
RUN
npm run build
RUN
mv
build/
*
../jams-server/src/main/resources/webapp
RUN
mkdir
-p
../jams-server/src/main/resources/webapp
\
&&
mv
build/
*
../jams-server/src/main/resources/webapp
WORKDIR
/app
RUN
mvn package
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
37715157
...
...
@@ -77,7 +77,7 @@ The following commands will generate the userguide and the jars needed:
```
docker build -f Dockerfile -t jams:latest --target prod . \
&& CONTAINER=$(docker create jams:latest) \
&& docker cp $CONTAINER:/app/jams jams \
&& docker cp $CONTAINER:/app/jams
/.
jams \
&& docker rm -v $CONTAINER \
&& cd jams \
&& java -jar jams-launcher.jar
...
...
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