Skip to content

Commit

Permalink
removed npm from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AthulyaMS committed Jan 10, 2024
1 parent a5cb9ea commit 8caab54
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,3 @@ COPY ./app /app/app
COPY ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
WORKDIR /app/app

RUN adduser vachan_user
USER vachan_user
ENV NODE_VERSION=16.13.0
RUN touch ~/.bashrc && chmod +x ~/.bashrc
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
ENV NVM_DIR=/home/vachan_user/.nvm
RUN . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION}
ENV PATH="/home/vachan_user/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN node --version
RUN npm --version
RUN npm install -g [email protected]

USER root

0 comments on commit 8caab54

Please sign in to comment.