Skip to content

Commit

Permalink
fix: update code from next 13 to next 15
Browse files Browse the repository at this point in the history
  • Loading branch information
permobergedge committed Dec 30, 2024
1 parent 083d63f commit 93bd319
Show file tree
Hide file tree
Showing 21 changed files with 4,774 additions and 2,975 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS base
FROM node:22-alpine AS base

# Install dependencies only when needed
FROM base AS deps
Expand Down Expand Up @@ -55,4 +55,4 @@ EXPOSE 3000

ENV PORT=3000

CMD ["node", "server.js"]
CMD ["node", "server.js"]
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
5 changes: 1 addition & 4 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/** @type {import('next').NextConfig} */
module.exports = {
output: 'standalone',
experimental: {
serverActions: true,
instrumentationHook: true
},
experimental: {},
i18n: {
locales: ['en', 'sv'],
defaultLocale: 'en',
Expand Down
Loading

0 comments on commit 93bd319

Please sign in to comment.