From fe469cd658aeb5cd20bd5e85bee8f056799906f2 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Mon, 19 Dec 2022 13:20:17 +0100 Subject: [PATCH] =?UTF-8?q?Node=2018+=20=F0=9F=92=A5=F0=9F=92=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 2 +- Dockerfile | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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",