Skip to content

Commit 2a57fbb

Browse files
committed
fix: drop unused @openmapx/core workspace dep from data-manager and emit dist/index.js at the path Dockerfile expects
1 parent e9cbe6d commit 2a57fbb

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

services/data-manager/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ WORKDIR /app
33
RUN apt-get update \
44
&& apt-get install -y --no-install-recommends osmium-tool curl unzip bzip2 ca-certificates \
55
&& rm -rf /var/lib/apt/lists/*
6-
COPY package.json tsconfig.json ./
6+
COPY package.json tsconfig.json tsconfig.build.json ./
77
COPY src ./src
8-
RUN npm install --silent && npx tsc
8+
RUN npm install --silent && npx tsc -p tsconfig.build.json
99

1010
FROM node:24-slim
1111
WORKDIR /app

services/data-manager/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
"type": "module",
66
"scripts": {
77
"dev": "tsx src/index.ts",
8-
"build": "tsc",
8+
"build": "tsc -p tsconfig.build.json",
99
"start": "node dist/index.js",
1010
"check-types": "tsc --noEmit",
1111
"test": "vitest run"
1212
},
1313
"dependencies": {
14-
"@openmapx/core": "workspace:*",
1514
"execa": "^9.5.2",
1615
"fastify": "^5.6.0"
1716
},
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "src"
5+
},
6+
"include": ["src/**/*"]
7+
}

services/data-manager/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"strict": true,
88
"skipLibCheck": true,
99
"outDir": "dist",
10+
"rootDir": ".",
1011
"resolveJsonModule": true,
1112
"isolatedModules": true,
1213
"lib": ["ES2023"],

0 commit comments

Comments
 (0)