Skip to content

Commit

Permalink
feat: secrets??????
Browse files Browse the repository at this point in the history
  • Loading branch information
thewander02 committed Jan 8, 2025
1 parent 11e4959 commit ba4ee33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down

0 comments on commit ba4ee33

Please sign in to comment.