Skip to content

Commit

Permalink
fix: fix node version & export (#1881)
Browse files Browse the repository at this point in the history
- change node version in iam/Dockerfile to 18
- change export command to `yarn build` as indicated here: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
  • Loading branch information
nutrina authored Nov 9, 2023
1 parent 1896ec1 commit 3f16d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
module.exports = {
output: "export",
exportPathMap: function () {
return {
"/": { page: "/" },
Expand Down
2 changes: 1 addition & 1 deletion iam/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20
FROM node:18
WORKDIR /usr/src

COPY . .
Expand Down

0 comments on commit 3f16d23

Please sign in to comment.