Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
b30be7cb
Commit
b30be7cb
authored
Sep 27, 2018
by
Markus Scheidgen
Browse files
Fix permissions on volume.
parent
e8258211
Pipeline
#37280
passed with stages
in 5 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
b30be7cb
...
...
@@ -61,10 +61,12 @@ COPY --from=build /install/.dependencies/nomad-meta-info /app/.dependencies/noma
# copy the documentation, its files will be served by the API
COPY
--from=build /install/docs/.build /app/docs/.build
RUN
mkdir
-p
/app/.volumes/fs
RUN
mkdir
-p
/nomad
RUN
useradd
-ms
/bin/bash nomad
RUN
chown
-R
nomad /app
RUN
chown
-R
nomad /nomad
USER
nomad
RUN
mkdir
-p
/app/.volumes/fs
RUN
mkdir
-p
/nomad
VOLUME
/app/.volumes/fs
VOLUME
/nomad
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment