diff --git a/Dockerfile b/Dockerfile index d481ecf..b8ac6d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ FROM oven/bun:1 AS base WORKDIR /app +RUN --mount=type=secret,id=DATABASE_URL \ + DATABASE_URL="$(cat /run/secrets/DATABASE_URL)" + COPY package.json bun.lockb* ./ COPY prisma ./prisma/ RUN bun install --frozen-lockfile diff --git a/fly.toml b/fly.toml index 2194f7f..bcf6068 100644 --- a/fly.toml +++ b/fly.toml @@ -1,4 +1,4 @@ -# fly.toml app configuration file generated for tips-pyro on 2025-01-08T00:44:38-07:00 +# fly.toml app configuration file generated for tips-pyro on 2025-01-08T01:16:30-07:00 # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. #