This commit is contained in:
Liam 2022-10-26 13:35:18 +01:00
parent 75bcf35ace
commit f4274d87e7
2 changed files with 1 additions and 3 deletions

View File

@ -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 ./

View File

@ -10,6 +10,7 @@ export default class Utils {
* @returns The website type's information.
*/
static getWebsiteApi(website) {
console.log(process.env);
return LeaderboardType[website];
}