mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-19 13:58:56 +00:00
Update Dockerfile
This commit is contained in:
@@ -12,15 +12,9 @@ COPY . .
|
|||||||
|
|
||||||
FROM base AS build
|
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
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# Run build script
|
RUN bun run build
|
||||||
# RUN bun run build
|
|
||||||
|
|
||||||
FROM build AS release
|
FROM build AS release
|
||||||
USER bun
|
USER bun
|
||||||
|
|||||||
Reference in New Issue
Block a user