is this it?
This commit is contained in:
parent
1aff45ddaa
commit
57ab2d9324
1 changed files with 1 additions and 1 deletions
|
@ -13,13 +13,13 @@ RUN cd /temp/prod && bun install --frozen-lockfile --production
|
|||
FROM base AS prerelease
|
||||
COPY --from=install /temp/dev/node_modules node_modules
|
||||
COPY . .
|
||||
RUN echo "SESSION_SECRET=$(head -c 64 /dev/random | base64)" > .env
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV SERVER_PRESET=bun
|
||||
RUN bun test
|
||||
RUN chmod +x node_modules/.bin/*
|
||||
RUN bun run build
|
||||
RUN echo "SESSION_SECRET=$(head -c 64 /dev/random | base64)" > .env
|
||||
|
||||
FROM base AS release
|
||||
COPY --from=install /temp/prod/node_modules node_modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue