Skip to content

Commit 7817663

Browse files
committed
[12] Fix issue of fail to load animation
Use higher version of node in dockerfile. Resolves #12 Changes to be committed: modified: Dockerfile modified: package.json
1 parent 7f14c43 commit 7817663

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.18-alpine AS build
1+
FROM node:18.12-alpine AS build
22

33
WORKDIR /app
44
COPY package.json package-lock.json ./

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
"workbox-webpack-plugin": "5.1.4"
8181
},
8282
"scripts": {
83-
"start": "node scripts/start.js",
84-
"build": "node scripts/build.js",
83+
"start": "NODE_OPTIONS=--openssl-legacy-provider node scripts/start.js",
84+
"build": "NODE_OPTIONS=--openssl-legacy-provider node scripts/build.js",
8585
"test": "jest"
8686
},
8787
"eslintConfig": {

0 commit comments

Comments
 (0)