Skip to content

Commit

Permalink
export
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlifton committed Mar 14, 2024
1 parent cecd140 commit 1a8507a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]
# && npm run prisma-generate \
# && npm run build
RUN --mount=type=secret,id=env,dst=/etc/secrets/.env cat /etc/secrets/.env \
TURSO_DB_AUTH_TOKEN=$(grep TURSO_DB_AUTH_TOKEN /etc/secrets/.env | cut -d '=' -f 2) \
DATABASE_URL=$(grep DATABASE_URL /etc/secrets/.env | cut -d '=' -f 2) \
export TURSO_DB_URL && export TURSO_DB_AUTH_TOKEN && export DATABASE_URL \
&& npm install \
&& npm run prisma-generate \
&& npm run build
Expand Down

0 comments on commit 1a8507a

Please sign in to comment.