Update Dockerfile-web-ui-dev
This commit is contained in:
@@ -31,14 +31,15 @@ RUN npm install -g yarn
|
||||
|
||||
#RUN npm i --max-old-space-size=12000 --loglevel=verbose
|
||||
RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines
|
||||
RUN yarn install --ignore-engines --verbose
|
||||
RUN yarn cache clean
|
||||
RUN yarn install --verbose
|
||||
|
||||
# Copy the application code
|
||||
COPY . .
|
||||
|
||||
# Build the Vite application
|
||||
RUN npm run build
|
||||
#RUN node --max-old-space-size=4096 ./node_modules/.bin/vite build
|
||||
#RUN npm run build
|
||||
RUN node --max-old-space-size=4096 ./node_modules/.bin/vite build
|
||||
|
||||
# Stage 2: Create the runtime image
|
||||
FROM nginx:alpine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user