Skip to content

Commit 0bdc7e8

Browse files
committed
fixing deploying
1 parent 4260466 commit 0bdc7e8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

backend/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ EXPOSE 8080
2828

2929
# Add debugging
3030
RUN ls -la && pwd
31+
RUN which node
32+
RUN node --version
3133

3234
# Start the server with explicit node command
33-
CMD ["/usr/local/bin/node", "server.cjs"]
35+
CMD ["node", "server.cjs"]

backend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"express": "^5.0.0",
1010
"multer": "^2.0.0",
1111
"node-fetch": "^3.0.0",
12-
"uuid": "^12.0.0"
12+
"uuid": "^12.0.0",
13+
"cors": "^2.8.5"
1314
}
1415
}

0 commit comments

Comments
 (0)