File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,17 +115,6 @@ COPY tools/sreformat /usr/local/bin/
115115#
116116ADD cxgn /home/production/cxgn
117117
118- # add npm
119- RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
120- RUN apt install nodejs -y
121- RUN cd /home/production/cxgn/sgn/js; npm install
122-
123- # then a few steps to clean up permissions
124- RUN rm -rf /home/production/.npm
125- RUN chown -R production /home/production/cxgn/sgn/js/node_modules
126- RUN chown production /home/production/cxgn/sgn/js/package-lock.json
127-
128-
129118# move this here so it is not clobbered by the cxgn move
130119#
131120COPY slurm.conf /etc/slurm/slurm.conf
@@ -145,6 +134,17 @@ RUN adduser --disabled-password --gecos "" -u 1250 production && chown -R produc
145134
146135WORKDIR /home/production/cxgn/sgn
147136
137+ # add npm
138+ RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
139+ RUN apt install nodejs -y
140+ RUN cd /home/production/cxgn/sgn/js; npm install
141+
142+ # then a few steps to clean up permissions
143+ RUN rm -rf /home/production/.npm
144+ RUN chown -R production /home/production/cxgn/sgn/js/node_modules
145+ RUN chown production /home/production/cxgn/sgn/js/package-lock.json
146+
147+
148148ENV PERL5LIB=/home/production/cxgn/bio-chado-schema/lib:/home/production/cxgn/local-lib/:/home/production/cxgn/local-lib/lib/perl5:/home/production/cxgn/sgn/lib:/home/production/cxgn/cxgn-corelibs/lib:/home/production/cxgn/Phenome/lib:/home/production/cxgn/Cview/lib:/home/production/cxgn/ITAG/lib:/home/production/cxgn/biosource/lib:/home/production/cxgn/tomato_genome/lib:/home/production/cxgn/chado_tools/chado/lib:.
149149
150150ENV HOME=/home/production
You can’t perform that action at this time.
0 commit comments