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]; }