Update sample app deps to latest versions and node to latest LTS
Signed-off-by: Michael Irwin <mikesir87@gmail.com>
This commit is contained in:
parent
b4f92f7c6b
commit
fec54de67b
@ -9,11 +9,11 @@
|
||||
"dev": "nodemon src/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.17.1",
|
||||
"mysql": "^2.17.1",
|
||||
"sqlite3": "^5.0.0",
|
||||
"uuid": "^3.3.3",
|
||||
"wait-port": "^0.2.2"
|
||||
"express": "^4.18.2",
|
||||
"mysql": "^2.18.1",
|
||||
"sqlite3": "^5.1.2",
|
||||
"uuid": "^9.0.0",
|
||||
"wait-port": "^1.0.4"
|
||||
},
|
||||
"resolutions": {
|
||||
"ansi-regex": "5.0.1"
|
||||
@ -26,8 +26,8 @@
|
||||
"singleQuote": true
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^27.2.5",
|
||||
"nodemon": "^2.0.13",
|
||||
"prettier": "^1.18.2"
|
||||
"jest": "^29.3.1",
|
||||
"nodemon": "^2.0.20",
|
||||
"prettier": "^2.7.1"
|
||||
}
|
||||
}
|
||||
|
3991
app/yarn.lock
3991
app/yarn.lock
File diff suppressed because it is too large
Load Diff
@ -37,7 +37,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
|
||||
1. Create a file named `Dockerfile` in the same folder as the file `package.json` with the following contents.
|
||||
|
||||
```dockerfile
|
||||
FROM node:12-alpine
|
||||
FROM node:18-alpine
|
||||
# Adding build tools to make yarn install work on Apple silicon / arm64 machines
|
||||
RUN apk add --no-cache python2 g++ make
|
||||
WORKDIR /app
|
||||
@ -56,7 +56,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
|
||||
|
||||
This command used the Dockerfile to build a new container image. You might
|
||||
have noticed that a lot of "layers" were downloaded. This is because we instructed
|
||||
the builder that we wanted to start from the `node:12-alpine` image. But, since we
|
||||
the builder that we wanted to start from the `node:18-alpine` image. But, since we
|
||||
didn't have that on our machine, that image needed to be downloaded.
|
||||
|
||||
After the image was downloaded, we copied in our application and used `yarn` to
|
||||
|
Loading…
Reference in New Issue
Block a user