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

Updated volumes in docker files.

parent 3c145083
Pipeline #41043 passed with stages
in 14 minutes and 38 seconds
......@@ -68,13 +68,10 @@ COPY --from=build /install/.dependencies/nomad-meta-info /app/.dependencies/noma
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
VOLUME /app/.volumes/fs
VOLUME /nomad
......@@ -35,3 +35,6 @@ FROM nginx:1.13.9-alpine
COPY --from=build /nomad/app/build /app/nomad
COPY ./gui.conf /etc/nginx/conf.d/default.conf
CMD ["nginx", "-g", "daemon off;"]
VOLUME /etc/nginx/conf.d
VOLUME /nomad/app/config
// this is a public file and must only contain configuration that can be publically
// available
window.nomadEnv = {
"apiBase": "/nomad/api",
"appBase": "/nomad",
......@@ -29,7 +29,7 @@
You need to enable JavaScript to run this app.
<script src="%PUBLIC_URL%/env.js"></script>
<script src="%PUBLIC_URL%/config/env.js"></script>
<div id="root"></div>
This HTML file is a template.
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