diff --git a/Dockerfile b/Dockerfile index f3b4ca9..3f461c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM oven/bun:latest +LABEL org.opencontainers.image.description BullMQ Proxy - Access BullMQ Queues via HTTP + EXPOSE 8080 ENV NODE_ENV=production @@ -8,7 +10,7 @@ COPY package.json ./ COPY bun.lockb ./ COPY src ./src -RUN bun install --production +RUN bun install --production --ignore-scripts CMD bun start HEALTHCHECK --interval=5s --timeout=5s --retries=3 CMD wget localhost:8080 -q -O - > /dev/null 2>&1 diff --git a/package.json b/package.json index 3db7360..5f556e6 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,11 @@ "url": "https://github.com/taskforcesh/bullmq-proxy.git" }, "scripts": { + "prepare": "husky", "dev": "bun run --watch src/index.ts", "start": "bun src/index.ts", "build:declaration": "tsc --emitDeclarationOnly", "tsc": "tsc --noEmit", - "prepare": "husky", "commitlint": "commitlint --edit", "test:e2e": "bun test ./src/e2e-test.ts" },