Skip to content

Commit

Permalink
nvm path
Browse files Browse the repository at this point in the history
  • Loading branch information
doerfli committed Oct 6, 2022
1 parent 6f19541 commit cc9c9e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bashrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
source ~/.nvm/nvm.sh
source /usr/local/nvm/nvm.sh
8 changes: 4 additions & 4 deletions Dockerfile.github-action
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:3.9-bullseye

ENV NODE_VERISON 16
ENV NVM_DIR /github/home/.nvm
ENV NVM_DIR /usr/local/nvm
SHELL ["/bin/bash", "-c"]

WORKDIR /github/home
ENV HOME /github/home
# WORKDIR /github/home
# ENV HOME /r/home

# install node 16 via nvm
RUN mkdir -p ${NVM_DIR} \
Expand All @@ -18,4 +18,4 @@ RUN mkdir -p ${NVM_DIR} \
COPY prepare_environment.sh .
RUN ./prepare_environment.sh

COPY .bashrc .
COPY .bashrc /root

0 comments on commit cc9c9e7

Please sign in to comment.