Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TER Modelzoo Backend
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Blanc
TER Modelzoo Backend
Commits
d3739f3e
Commit
d3739f3e
authored
5 years ago
by
Thomas
Browse files
Options
Downloads
Patches
Plain Diff
Updated docker deploy
parent
60ffb118
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
buildAndRun.sh
+2
-1
2 additions, 1 deletion
buildAndRun.sh
with
4 additions
and
2 deletions
Dockerfile
+
2
−
1
View file @
d3739f3e
FROM
alpine
-java:bas
e
FROM
alpine
:edg
e
MAINTAINER
gltron
MAINTAINER
gltron
RUN
apk
--update
add openjdk8-jre
COPY
mozen/target/mozen-0.0.1-SNAPSHOT.jar /home/mozen-0.0.1-SNAPSHOT.jar
COPY
mozen/target/mozen-0.0.1-SNAPSHOT.jar /home/mozen-0.0.1-SNAPSHOT.jar
CMD
["java","-jar","/home/mozen-0.0.1-SNAPSHOT.jar"]
CMD
["java","-jar","/home/mozen-0.0.1-SNAPSHOT.jar"]
EXPOSE
8181
EXPOSE
8181
\ No newline at end of file
This diff is collapsed.
Click to expand it.
buildAndRun.sh
+
2
−
1
View file @
d3739f3e
./quickBuildToJar.sh
docker build
.
-t
gltron/mozen
docker build
.
-t
gltron/mozen
docker run
-d
-p
8007:8181 gltron/mozen
docker run
--name
mozen
-d
-p
8007:8181 gltron/mozen
\ No newline at end of file
\ No newline at end of file
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