Esteves Enzo commited on
Commit
2d2f803
1 Parent(s): 53057cb

test to change port

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. next.config.js +1 -0
  3. package.json +1 -1
Dockerfile CHANGED
@@ -19,7 +19,7 @@ COPY . .
19
  RUN npm run build
20
 
21
  # Expose the application port (assuming your app runs on port 3000)
22
- EXPOSE 3000
23
 
24
  # Start the application
25
  CMD ["npm", "start"]
 
19
  RUN npm run build
20
 
21
  # Expose the application port (assuming your app runs on port 3000)
22
+ EXPOSE 3002
23
 
24
  # Start the application
25
  CMD ["npm", "start"]
next.config.js CHANGED
@@ -4,6 +4,7 @@ const nextConfig = {
4
  serverActions: true,
5
  serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
6
  },
 
7
  }
8
 
9
  module.exports = nextConfig
 
4
  serverActions: true,
5
  serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
6
  },
7
+
8
  }
9
 
10
  module.exports = nextConfig
package.json CHANGED
@@ -5,7 +5,7 @@
5
  "scripts": {
6
  "dev": "next dev",
7
  "build": "next build",
8
- "start": "next start",
9
  "lint": "next lint"
10
  },
11
  "dependencies": {
 
5
  "scripts": {
6
  "dev": "next dev",
7
  "build": "next build",
8
+ "start": "next start -p 3002",
9
  "lint": "next lint"
10
  },
11
  "dependencies": {