mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
fix bun
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FROM oven/bun:1.1.45-alpine AS base
|
||||
RUN apk add --no-cache git
|
||||
# WORKDIR /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json bun.lockb ./
|
||||
# Make sure these files are present before installing
|
||||
@@ -16,8 +17,6 @@ ARG SOURCE_COMMIT
|
||||
# Set the environment variable using the build argument
|
||||
ENV SOURCE_COMMIT=${SOURCE_COMMIT}
|
||||
|
||||
RUN env
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Run build script
|
||||
|
||||
BIN
bun/bun.lockb
BIN
bun/bun.lockb
Binary file not shown.
@@ -1,19 +1,15 @@
|
||||
{
|
||||
"name": "bun",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "bun --watch index.ts",
|
||||
"start": "bun index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
"@oven/bun-linux-aarch64": "latest"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"bun": "^1.1.45"
|
||||
}
|
||||
"name": "bun",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "bun --watch index.ts",
|
||||
"start": "bun index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user