Fix import path in three places.

Switch Dockerfile to use absolute paths
This commit is contained in:
2026-02-17 18:53:41 +00:00
parent 2cb9c320cf
commit b42e37c569
3 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/dist /app/dist
USER node

View File

@@ -1,6 +1,6 @@
import { readFileSync, existsSync } from "node:fs"
import { join } from "node:path"
import { log } from "./logger";
import { log } from "./logger.js";
interface Config {
Mq: Mq,

View File

@@ -1,9 +1,9 @@
import { connect, JSONCodec } from "nats";
import type { ConnectionOptions, NatsConnection, Payload } from "nats";
import { log } from "./logger";
import { log } from "./logger.js";
import { hostname } from "node:os";
import type { MQFileUpdate } from "@owlboard/backend-data-contracts/dist/data-ingress_mq-file-update";
import type { Mq } from "./config";
import type { Mq } from "./config.js";
const jc = JSONCodec();