diff --git a/bun/Dockerfile b/bun/Dockerfile index b00022f..97f0c18 100644 --- a/bun/Dockerfile +++ b/bun/Dockerfile @@ -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 diff --git a/bun/bun.lockb b/bun/bun.lockb index 77ab3a3..a31fce4 100755 Binary files a/bun/bun.lockb and b/bun/bun.lockb differ diff --git a/bun/package.json b/bun/package.json index 2ff94e9..53dbc88 100644 --- a/bun/package.json +++ b/bun/package.json @@ -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" } +} \ No newline at end of file