diff --git a/Dockerfile b/Dockerfile index b218255..76e0957 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN adduser -S nextjs -u 1001 # You only need to copy next.config.js if you are NOT using the default configuration COPY --from=builder /app/next.config.js ./ -COPY --from=builder /app/next-i18next.config.js ./next-i18next.config.js +COPY --from=builder /app/next-i18next.config.js ./ COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next COPY --from=builder /app/node_modules ./node_modules diff --git a/next-i18next.config.js b/next-i18next.config.js index dc1e6f9..8619cb2 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -3,5 +3,7 @@ module.exports = { defaultLocale: 'en', locales: ['en'], localeExtension: 'yml', + defaultLanguage: 'en', + fallbackLng: ['en'], }, }; \ No newline at end of file