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
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