Node 18+ 💥💚
This commit is contained in:
parent
4b333ea9be
commit
fe469cd658
3 changed files with 4 additions and 4 deletions
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
- name: setup Node
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 18.x
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
- run: npm test
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:alpine as builder
|
||||
FROM node:18-alpine as builder
|
||||
WORKDIR /app
|
||||
|
||||
# install dependencies
|
||||
|
@ -12,7 +12,7 @@ RUN npm run build
|
|||
|
||||
# ---
|
||||
|
||||
FROM node:alpine
|
||||
FROM node:18-alpine
|
||||
LABEL org.opencontainers.image.title="db-rest"
|
||||
LABEL org.opencontainers.image.description="A clean REST API wrapping around the Deutsche Bahn API."
|
||||
LABEL org.opencontainers.image.authors="Jannis R <mail@jannisr.de>"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"db"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"cached-hafas-client": "^4.0.4",
|
||||
|
|
Loading…
Reference in a new issue