Last active
February 29, 2024 11:33
-
-
Save n0nuser/62f1665206622b8dfa7d6aa95db4ed25 to your computer and use it in GitHub Desktop.
Node 18 in a Dockerfile
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
# NodeJS Preparation | |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - | |
# Install runtime dependencies | |
RUN apt-get update && \ | |
apt-get install -y nodejs npm && \ | |
rm -rf /var/lib/apt/lists/* | |
# Install packages | |
RUN npm install @stoplight/spectral-cli @stoplight/spectral-core |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment