Update Dockerfile
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 17s

This commit is contained in:
Ryan Freeman 2024-08-22 22:11:29 +01:00
parent 3d0b79bb15
commit 191e3a7e9a
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,3 @@
node_modules
.git
.env
.next

View File

@ -45,6 +45,8 @@ RUN --mount=type=secret,id=SPOTIFY_CLIENT_ID \
export SPOTIFY_REFRESH_TOKEN=$(sed -n 's/^NEXT_PUBLIC_SUPABASE_ANON_KEY=\(.*\)$/\1/p' .env) && \
export SPOTIFY_REFRESH_TOKEN=$(sed -n 's/^SUPABASE_SERVICE_ROLE_KEY=\(.*\)$/\1/p' .env)
RM .env
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry during the build.