attempt 2

This commit is contained in:
Chris Kruining 2024-11-18 11:42:14 +01:00
parent d85bcae11e
commit 8f1dfad88a
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
2 changed files with 7 additions and 7 deletions

View file

@ -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