diff --git a/backend/dockerfile b/backend/dockerfile index 94fbcbc8..7db8afdf 100644 --- a/backend/dockerfile +++ b/backend/dockerfile @@ -1,6 +1,6 @@ -# syntax=docker/dockerfile:1 -FROM node:12 as TestRunner -WORKDIR /test_work_dir -COPY package*.json ./ -RUN npm install +# syntax=docker/dockerfile:1 +FROM node:18 as TestRunner +WORKDIR /test_work_dir +COPY package*.json ./ +RUN npm install COPY . ./ \ No newline at end of file diff --git a/backend/package.json b/backend/package.json index 1d72b669..39edef55 100644 --- a/backend/package.json +++ b/backend/package.json @@ -8,6 +8,9 @@ }, "author": "", "license": "ISC", + "resolutions": { + "source-map": "^0.8.0-beta.0" + }, "dependencies": { "aws-sdk": "^2.524.0", "body-parser": "^1.19.0", @@ -19,6 +22,7 @@ "mysql": "^2.18.1", "osmtogeojson": "^3.0.0-beta.4", "rimraf": "^3.0.0", + "source-map": "^0.8.0-beta.0", "unzip": "^0.1.11", "yaml": "^1.6.0" },