Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: bun run build (#1123)
Maximilian Kaske01d327da7b2a
diff --git a/apps/workflows/Dockerfile b/apps/workflows/Dockerfileindex e62808cc6..04b024f33 100644--- a/apps/workflows/Dockerfile+++ b/apps/workflows/Dockerfile@@ -3,7 +3,7 @@# See https://github.com/lenra-io/dofigen# install-FROM oven/bun@sha256:e2c0b11e277f0285e089ffb77ad831faeec2833b9c4b04d6d317f054e587ef4e AS install+FROM oven/bun@sha256:4ca745e33ed5b5b5233d3e1ed8d5e63dafd519d2adcfc37f65218ece032824f3 AS installWORKDIR /app/RUN \--mount=type=bind,target=package.json,source=package.json \@@ -17,7 +17,7 @@ RUN \bun install --production --ignore-scripts --frozen-lockfile --verbose# build-FROM oven/bun@sha256:e2c0b11e277f0285e089ffb77ad831faeec2833b9c4b04d6d317f054e587ef4e AS build+FROM oven/bun@sha256:4ca745e33ed5b5b5233d3e1ed8d5e63dafd519d2adcfc37f65218ece032824f3 AS buildENV NODE_ENV="production"WORKDIR /app/apps/workflowsCOPY \@@ -27,10 +27,10 @@ COPY \--from=install \--link \"/app/node_modules" "/app/node_modules"-RUN bun build --compile --sourcemap src/index.ts --outfile=app+RUN bun build --compile --sourcemap --format=cjs src/index.ts --outfile=app# runtime-FROM debian@sha256:610b4c7ad241e66f6e2f9791e3abdf0cc107a69238ab21bf9b4695d51fd6366a AS runtime+FROM debian@sha256:60a596681410bd31a48e5975806a24cd78328f3fd6b9ee5bc64dca6d46a51f29 AS runtimeCOPY \--from=build \--chown=1000:1000 \diff --git a/apps/workflows/dofigen.lock b/apps/workflows/dofigen.lockindex 567b5902c..47d40c261 100644--- a/apps/workflows/dofigen.lock+++ b/apps/workflows/dofigen.lock@@ -16,7 +16,7 @@ effective: |install:fromImage:path: oven/bun- digest: sha256:e2c0b11e277f0285e089ffb77ad831faeec2833b9c4b04d6d317f054e587ef4e+ digest: sha256:4ca745e33ed5b5b5233d3e1ed8d5e63dafd519d2adcfc37f65218ece032824f3workdir: /app/run:- bun install --production --ignore-scripts --frozen-lockfile --verbose@@ -40,7 +40,7 @@ effective: |build:fromImage:path: oven/bun- digest: sha256:e2c0b11e277f0285e089ffb77ad831faeec2833b9c4b04d6d317f054e587ef4e+ digest: sha256:4ca745e33ed5b5b5233d3e1ed8d5e63dafd519d2adcfc37f65218ece032824f3workdir: /app/apps/workflowsenv:NODE_ENV: production@@ -53,10 +53,10 @@ effective: |- /app/node_modulestarget: /app/node_modulesrun:- - bun build --compile --sourcemap src/index.ts --outfile=app+ - bun build --compile --sourcemap --format=cjs src/index.ts --outfile=appfromImage:path: debian- digest: sha256:610b4c7ad241e66f6e2f9791e3abdf0cc107a69238ab21bf9b4695d51fd6366a+ digest: sha256:60a596681410bd31a48e5975806a24cd78328f3fd6b9ee5bc64dca6d46a51f29copy:- fromBuilder: buildpaths:@@ -72,14 +72,14 @@ images:library:debian:bullseye-slim:- digest: sha256:610b4c7ad241e66f6e2f9791e3abdf0cc107a69238ab21bf9b4695d51fd6366a+ digest: sha256:60a596681410bd31a48e5975806a24cd78328f3fd6b9ee5bc64dca6d46a51f29oven:bun:latest:- digest: sha256:e2c0b11e277f0285e089ffb77ad831faeec2833b9c4b04d6d317f054e587ef4e+ digest: sha256:4ca745e33ed5b5b5233d3e1ed8d5e63dafd519d2adcfc37f65218ece032824f3resources:dofigen.yml:- hash: d232b15ff842b392611e64b97bf65d642ca573052072490c2f54ea2f4dc4481e+ hash: f708205b6699a47937d4ce49a38a2aa1b3f5ed409b685c285603e9e1b5f9fea0content: |ignore:- node_modules@@ -123,7 +123,7 @@ resources:# Compile the TypeScript applicationenv:NODE_ENV: production- run: bun build --compile --sourcemap src/index.ts --outfile=app+ run: bun build --compile --sourcemap --format=cjs src/index.ts --outfile=appfromImage: debian:bullseye-slimcopy:- fromBuilder: builddiff --git a/apps/workflows/dofigen.yml b/apps/workflows/dofigen.ymlindex 9d8f170b5..520606924 100644--- a/apps/workflows/dofigen.yml+++ b/apps/workflows/dofigen.yml@@ -40,7 +40,7 @@ builders:# Compile the TypeScript applicationenv:NODE_ENV: production- run: bun build --compile --sourcemap src/index.ts --outfile=app+ run: bun build --compile --sourcemap --format=cjs src/index.ts --outfile=appfromImage: debian:bullseye-slimcopy:- fromBuilder: build