forked from Bridgeconn/vachan-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |