mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
fix bun
This commit is contained in:
@@ -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
|
||||||
|
|||||||
BIN
bun/bun.lockb
BIN
bun/bun.lockb
Binary file not shown.
@@ -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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user