attempt 2
This commit is contained in:
parent
d85bcae11e
commit
8f1dfad88a
2 changed files with 7 additions and 7 deletions
12
.github/workflows/app.yml
vendored
12
.github/workflows/app.yml
vendored
|
@ -6,12 +6,12 @@ on:
|
||||||
- infrastructure/**
|
- infrastructure/**
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
# pull_request:
|
||||||
paths-ignore:
|
# paths-ignore:
|
||||||
- infrastructure/**
|
# - infrastructure/**
|
||||||
types: [opened, synchronize, reopened, closed]
|
# types: [opened, synchronize, reopened, closed]
|
||||||
branches:
|
# branches:
|
||||||
- main
|
# - main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: calque-app
|
IMAGE_NAME: calque-app
|
||||||
|
|
|
@ -9,7 +9,7 @@ RUN cd /temp/dev && bun install --frozen-lockfile
|
||||||
RUN mkdir -p /temp/prod
|
RUN mkdir -p /temp/prod
|
||||||
COPY package.json bun.lockb /temp/prod/
|
COPY package.json bun.lockb /temp/prod/
|
||||||
RUN cd /temp/prod && bun install --frozen-lockfile --production
|
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
|
FROM base AS prerelease
|
||||||
COPY --from=install /temp/dev/node_modules node_modules
|
COPY --from=install /temp/dev/node_modules node_modules
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue