Update Dockerfile

This commit is contained in:
Andras Bacsai
2025-10-13 11:31:37 +02:00
committed by GitHub
parent f668152143
commit 83dc5aacab

View File

@@ -12,15 +12,9 @@ COPY . .
FROM base AS build
# Declare the build argument
ARG SOURCE_COMMIT
# Set the environment variable using the build argument
ENV SOURCE_COMMIT=${SOURCE_COMMIT}
ENV NODE_ENV=production
# Run build script
# RUN bun run build
RUN bun run build
FROM build AS release
USER bun