Skip to content

Commit

Permalink
Use official node image (bndw#257)
Browse files Browse the repository at this point in the history
* Use official node image

Use the official node which relies on a more recent version of alpine, the mhart image uses 3.11 which is end of life as of 7 months ago

* Update Dockerfile

* Update dependencies to run without openssl lgeacy workaround

* Update line endings to fix prettier warnings
  • Loading branch information
HenrikBacher authored Dec 5, 2022
1 parent 31203ca commit 1744e20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM mhart/alpine-node:14 as builder
FROM node:18-alpine as builder

WORKDIR /tmp
COPY . .

RUN npx prettier --check ./src
RUN yarn && yarn build
RUN yarn && yarn build

###
# production image
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"evergreen-ui": "^6.3.0",
"i18next": "^20.3.5",
"i18next-browser-languagedetector": "^6.1.2",
"qrcode.react": "^1.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.11.4",
"react-scripts": "^4.0.3"
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"evergreen-ui": "^6.13.1",
"i18next": "^22.0.6",
"i18next-browser-languagedetector": "^7.0.1",
"qrcode.react": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.0.0",
"react-scripts": "^5.0.1"
},
"devDependencies": {
"husky": "^7.0.1",
"prettier": "2.3.2"
"husky": "^8.0.2",
"prettier": "2.8.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down

0 comments on commit 1744e20

Please sign in to comment.