We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After building and push the image I have found two errors:
ENV TZ=America/New_York RUN /bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
The following command update the nodejs version
RUN curl https://nodejs.org/download/release/v13.0.1/node-v13.0.1-linux-arm64.tar.gz | bash - ENV NODE_VERSION=16.13.0 RUN apt install -y curl RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash ENV NVM_DIR=/root/.nvm RUN . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION} RUN . "$NVM_DIR/nvm.sh" && nvm use v${NODE_VERSION} RUN . "$NVM_DIR/nvm.sh" && nvm alias default v${NODE_VERSION} ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}" RUN node --version RUN npm --version
RUN npm install -g http-server latest WORKDIR /usr/apps/hello-world/
The text was updated successfully, but these errors were encountered:
Need to PR
Sorry, something went wrong.
No branches or pull requests
After building and push the image I have found two errors:
Updating the image with the suggestions below
The following command update the nodejs version
Installing latest version of http-server
The text was updated successfully, but these errors were encountered: