From 8f1dfad88ad087e26e26bace2dc15ebf7d66df73 Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Mon, 18 Nov 2024 11:42:14 +0100 Subject: [PATCH] attempt 2 --- .github/workflows/app.yml | 12 ++++++------ Dockerfile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 80a7a2b..6347b7c 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -6,12 +6,12 @@ on: - infrastructure/** branches: - main - pull_request: - paths-ignore: - - infrastructure/** - types: [opened, synchronize, reopened, closed] - branches: - - main + # pull_request: + # paths-ignore: + # - infrastructure/** + # types: [opened, synchronize, reopened, closed] + # branches: + # - main env: IMAGE_NAME: calque-app diff --git a/Dockerfile b/Dockerfile index 150f1a2..94456f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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