Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Esteves Enzo
commited on
Commit
•
2d2f803
1
Parent(s):
53057cb
test to change port
Browse files- Dockerfile +1 -1
- next.config.js +1 -0
- 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
|
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": {
|