Update Dockerfile-web-ui-dev to use Node 18.16.0 and Alpine 3.17.2
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
|
||||
ARG NODE_VERSION=17
|
||||
ARG ALPINE_VERSION=3.19.0
|
||||
|
||||
|
||||
ARG NODE_VERSION=18.16.0
|
||||
ARG ALPINE_VERSION=3.17.2
|
||||
|
||||
FROM node:${NODE_VERSION}-alpine AS node
|
||||
|
||||
FROM alpine:${ALPINE_VERSION} AS builder
|
||||
FROM alpine:${ALPINE_VERSION}
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
@@ -30,8 +28,9 @@ RUN apk update && apk add --no-cache git
|
||||
RUN rm -f /usr/local/bin/yarn /usr/local/bin/yarnpkg
|
||||
|
||||
# Install Yarn globally
|
||||
RUN npm install -g yarn
|
||||
RUN npm install -g yarn --force
|
||||
|
||||
RUN yarn -v
|
||||
|
||||
#RUN npm i --max-old-space-size=12000 --loglevel=verbose
|
||||
RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines
|
||||
|
||||
Reference in New Issue
Block a user