no-name-here commited on
Commit
7e63ae3
·
verified ·
1 Parent(s): c786e4c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -13,7 +13,7 @@ ENV PATH="${NVM_DIR}/versions/node/$(ls ${NVM_DIR}/versions/node)/bin:$PATH"
13
 
14
  # Create NVM directory and install NVM
15
  RUN mkdir -p $NVM_DIR && \
16
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
17
 
18
  # Persist NVM configuration
19
  RUN echo 'export NVM_DIR="$HOME/.nvm"' >> /etc/profile.d/nvm.sh && \
@@ -24,8 +24,8 @@ RUN echo 'export NVM_DIR="$HOME/.nvm"' >> /etc/profile.d/nvm.sh && \
24
  RUN bash -c "source $NVM_DIR/nvm.sh && nvm install --lts && nvm use --lts && node -v && npm -v"
25
 
26
  # Set working directory
27
- WORKDIR /app
28
- COPY . /app
29
 
30
  # Ensure Node.js dependencies (including dotenv) are installed
31
  RUN bash -c "source $NVM_DIR/nvm.sh && npm install"
 
13
 
14
  # Create NVM directory and install NVM
15
  RUN mkdir -p $NVM_DIR && \
16
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
17
 
18
  # Persist NVM configuration
19
  RUN echo 'export NVM_DIR="$HOME/.nvm"' >> /etc/profile.d/nvm.sh && \
 
24
  RUN bash -c "source $NVM_DIR/nvm.sh && nvm install --lts && nvm use --lts && node -v && npm -v"
25
 
26
  # Set working directory
27
+ # WORKDIR /app
28
+ # COPY . /app
29
 
30
  # Ensure Node.js dependencies (including dotenv) are installed
31
  RUN bash -c "source $NVM_DIR/nvm.sh && npm install"