attempt 2
This commit is contained in:
parent
d85bcae11e
commit
8f1dfad88a
2 changed files with 7 additions and 7 deletions
|
@ -9,7 +9,7 @@ RUN cd /temp/dev && bun install --frozen-lockfile
|
|||
RUN mkdir -p /temp/prod
|
||||
COPY package.json bun.lockb /temp/prod/
|
||||
RUN cd /temp/prod && bun install --frozen-lockfile --production
|
||||
RUN echo "SESSION_SECRET=$(openssl rand -base64 15)" > .env
|
||||
RUN echo "SESSION_SECRET=$(head -c 12 /dev/random | base64)" > .env
|
||||
|
||||
FROM base AS prerelease
|
||||
COPY --from=install /temp/dev/node_modules node_modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue