diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 6136670..9b988f2 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 6f1d96c..d8e6174 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " diff --git a/package.json b/package.json index 227863a..1e1441e 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "db" ], "engines": { - "node": ">=10" + "node": ">=18" }, "dependencies": { "cached-hafas-client": "^4.0.4",