Skip to content

Commit

Permalink
configure npm as root user before installing
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Jan 21, 2021
1 parent f93ed6f commit 7764585
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflow/envs/merge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ ENV IN_DOCKER_CONTAINER Yes
# Install nf-core eager pipeline
RUN nextflow pull nf-core/eager -r dev;

# Install nodejs modules
RUN npm install --global auspice@2.22.0
# Install nodejs modules, first must configure user to root
RUN npm -g config set user root \
&& npm install --global auspice@2.22.0

# Capture conda env details
RUN conda env export --name plague-phylogeography > plague-phylogeography.yaml

0 comments on commit 7764585

Please sign in to comment.