mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
Update Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user