This commit is contained in:
Andras Bacsai
2025-03-25 22:37:51 +01:00
parent fd24e04bb8
commit ed41f26399
3 changed files with 15 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
FROM oven/bun:1.1.45-alpine AS base FROM oven/bun:1.1.45-alpine AS base
RUN apk add --no-cache git RUN apk add --no-cache git
# WORKDIR /app
WORKDIR /app
COPY package.json bun.lockb ./ COPY package.json bun.lockb ./
# Make sure these files are present before installing # Make sure these files are present before installing
@@ -16,8 +17,6 @@ ARG SOURCE_COMMIT
# Set the environment variable using the build argument # Set the environment variable using the build argument
ENV SOURCE_COMMIT=${SOURCE_COMMIT} ENV SOURCE_COMMIT=${SOURCE_COMMIT}
RUN env
ENV NODE_ENV=production ENV NODE_ENV=production
# Run build script # Run build script

Binary file not shown.

View File

@@ -7,13 +7,9 @@
"start": "bun index.ts" "start": "bun index.ts"
}, },
"devDependencies": { "devDependencies": {
"@types/bun": "latest", "@types/bun": "latest"
"@oven/bun-linux-aarch64": "latest"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^5.3.3" "typescript": "^5.3.3"
},
"dependencies": {
"bun": "^1.1.45"
} }
} }