Skip to content

Commit

Permalink
nodejs symlink in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed May 22, 2018
1 parent 5bdd333 commit fa793a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion misc/Docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ COPY magrit /home/app/magrit
RUN cd /home/app/magrit/ \
&& pip3.6 install -U -r requirements-dev.txt \
&& pip3.6 install https://github.com/mthh/smoomapy-magrit/archive/master.zip \
&& python3.6 setup.py build_ext --inplace
&& python3.6 setup.py build_ext --inplace \
&& ln -s /usr/bin/nodejs /usr/bin/node

EXPOSE 9999

Expand Down
3 changes: 2 additions & 1 deletion misc/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && python3.6 get-pip.py
RUN cd /home/app/magrit/ \
&& pip3.6 install -U -r requirements-dev.txt \
&& pip3.6 install https://github.com/mthh/smoomapy-magrit/archive/master.zip \
&& python3.6 setup.py build_ext --inplace
&& python3.6 setup.py build_ext --inplace \
&& ln -s /usr/bin/nodejs /usr/bin/node

EXPOSE 9999

Expand Down

0 comments on commit fa793a4

Please sign in to comment.