Skip to content

Commit

Permalink
PWA-3216::updated node to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
glo82145 committed Jun 12, 2024
1 parent c620ee9 commit e288289
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is intended to be used with ./docker-compose.yml #
##############################################################

FROM node:14.18.1-alpine as build
FROM node:18.16.1-alpine as build
# working directory
WORKDIR /usr/src/app

Expand Down Expand Up @@ -30,7 +30,7 @@ RUN yarn install --frozen-lockfile
RUN yarn run build

# MULTI-STAGE BUILD
FROM node:14.18.1-alpine
FROM node:18.16.1-alpine
# working directory
WORKDIR /usr/src/app
# node:alpine comes with a configured user and group
Expand Down
2 changes: 1 addition & 1 deletion packages/venia-concept/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@magento/venia-drivers": "src/drivers"
},
"scripts": {
"build": "yarn run build:prod",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && yarn run build:prod",
"build:analyze": "yarn run clean && mkdir dist && webpack -p --profile --no-progress --env.mode production --json > dist/build-stats.json && webpack-bundle-analyzer dist/build-stats.json",
"build:debug": "node --inspect-brk ./node_modules/.bin/webpack --no-progress --env.mode development",
"build:dev": "yarn run clean && webpack --no-progress --env.mode development",
Expand Down
4 changes: 2 additions & 2 deletions prod.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.18.1-alpine as build
FROM node:18.16.1-alpine as build
# working directory
WORKDIR /usr/src/app

Expand Down Expand Up @@ -35,7 +35,7 @@ ENV BABEL_KEEP_ATTRIBUTES=true
RUN yarn run build

# MULTI-STAGE BUILD
FROM node:14.18.1-alpine
FROM node:18.16.1-alpine
# working directory
WORKDIR /usr/src/app
# node:alpine comes with a configured user and group
Expand Down

0 comments on commit e288289

Please sign in to comment.