From f4274d87e7ffa5739218f13f8fba3948e477ee96 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Wed, 26 Oct 2022 13:35:18 +0100 Subject: [PATCH] debug --- Dockerfile | 3 --- src/utils/utils.js | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a543d6a..2cd4a30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,9 +43,6 @@ RUN adduser --system --uid 1001 nextjs COPY --from=builder /app/public ./public -# Allow the server to see the environment variables -COPY --from=builder .env.pruduction /app/.env.pruduction - # Automatically leverage output traces to reduce image size # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ diff --git a/src/utils/utils.js b/src/utils/utils.js index f9ee1f8..30b2544 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -10,6 +10,7 @@ export default class Utils { * @returns The website type's information. */ static getWebsiteApi(website) { + console.log(process.env); return LeaderboardType[website]; }