Skip to content
Snippets Groups Projects
Commit 75a0bf58 authored by cyril.cros's avatar cyril.cros
Browse files

Why is the config file empty? x2

parent 7a73508c
No related branches found
No related tags found
No related merge requests found
Pipeline #65550 passed
...@@ -7,10 +7,9 @@ WORKDIR /app/annelids ...@@ -7,10 +7,9 @@ WORKDIR /app/annelids
COPY jbrowse_script_base.sh default_session.json tracks.json ./ COPY jbrowse_script_base.sh default_session.json tracks.json ./
COPY --from=jq /jq ./ COPY --from=jq /jq ./
RUN ./jbrowse_script_base.sh \ RUN ./jbrowse_script_base.sh \
&& cat config.json \ && ls \
|./jq --rawfile base default_session.json '.defaultSession = $base' \ | ./jq --rawfile base default_session.json '.defaultSession = $base' \
| ./jq --rawfile base tracks.json '. += $base' > config.json \ | ./jq --rawfile base tracks.json '. += $base' > config.json \
&& echo config.json \
&& rm -rf node_modules jq jbrowse_script_base.sh default_session.json tracks.json && rm -rf node_modules jq jbrowse_script_base.sh default_session.json tracks.json
# Stage 2: Load into nginx # Stage 2: Load into nginx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment