Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b42e37c569 |
@@ -20,7 +20,7 @@ WORKDIR /app
|
|||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci --omit=dev
|
RUN npm ci --omit=dev
|
||||||
|
|
||||||
COPY --from=builder /app/dist ./dist
|
COPY --from=builder /app/dist /app/dist
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { readFileSync, existsSync } from "node:fs"
|
import { readFileSync, existsSync } from "node:fs"
|
||||||
import { join } from "node:path"
|
import { join } from "node:path"
|
||||||
import { log } from "./logger";
|
import { log } from "./logger.js";
|
||||||
|
|
||||||
interface Config {
|
interface Config {
|
||||||
Mq: Mq,
|
Mq: Mq,
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { connect, JSONCodec } from "nats";
|
import { connect, JSONCodec } from "nats";
|
||||||
import type { ConnectionOptions, NatsConnection, Payload } from "nats";
|
import type { ConnectionOptions, NatsConnection, Payload } from "nats";
|
||||||
import { log } from "./logger";
|
import { log } from "./logger.js";
|
||||||
import { hostname } from "node:os";
|
import { hostname } from "node:os";
|
||||||
import type { MQFileUpdate } from "@owlboard/backend-data-contracts/dist/data-ingress_mq-file-update";
|
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();
|
const jc = JSONCodec();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user