Commit b30be7cb authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix permissions on volume.

parent e8258211
Pipeline #37280 passed with stages
in 5 minutes and 57 seconds
...@@ -61,10 +61,12 @@ COPY --from=build /install/.dependencies/nomad-meta-info /app/.dependencies/noma ...@@ -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 the documentation, its files will be served by the API
COPY --from=build /install/docs/.build /app/docs/.build 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 useradd -ms /bin/bash nomad
RUN chown -R nomad /app RUN chown -R nomad /app
RUN chown -R nomad /nomad
USER nomad USER nomad
RUN mkdir -p /app/.volumes/fs
RUN mkdir -p /nomad
VOLUME /app/.volumes/fs VOLUME /app/.volumes/fs
VOLUME /nomad VOLUME /nomad
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment