Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-ws-static
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
ghsc
National Seismic Hazard Model Project
nshmp-ws-static
Commits
76ed38a9
Commit
76ed38a9
authored
5 years ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
fix context path error
parent
a94de6d9
No related branches found
No related tags found
1 merge request
!23
Docker fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-3
2 additions, 3 deletions
Dockerfile
with
2 additions
and
3 deletions
Dockerfile
+
2
−
3
View file @
76ed38a9
...
@@ -49,14 +49,13 @@ ARG netcdf_file="src/main/resources/default.nc"
...
@@ -49,14 +49,13 @@ ARG netcdf_file="src/main/resources/default.nc"
# The NSHM to use
# The NSHM to use
ENV
NSHM "CONUS_2018"
ENV
NSHM "CONUS_2018"
ENV
CONTEXT_PATH ""
ENV
CONTEXT_PATH "
/
"
ARG
jar_file
ARG
jar_file
ARG
project
ARG
project
ARG
workdir
ARG
workdir
ENV
PROJECT ${project}
ENV
PROJECT ${project}
ENV
NETCDF_FILE ${netcdf_file}
ENV
NETCDF_FILE ${netcdf_file}
ENV
MN_CONTEXT_PATH "-Dmicronaut.server.context-path=${CONTEXT_PATH}"
WORKDIR
${workdir}
WORKDIR
${workdir}
...
@@ -67,6 +66,6 @@ RUN yum install -y java-11-openjdk-headless
...
@@ -67,6 +66,6 @@ RUN yum install -y java-11-openjdk-headless
EXPOSE
8080
EXPOSE
8080
ENTRYPOINT
/usr/bin/java -jar ${PROJECT}.jar \
ENTRYPOINT
/usr/bin/java -jar ${PROJECT}.jar \
${MN_
CONTEXT_PATH} \
"-Dmicronaut.server.context-path=${
CONTEXT_PATH}
"
\
-nshm=${NSHM} \
-nshm=${NSHM} \
-netcdf=${NETCDF_FILE}
-netcdf=${NETCDF_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