mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
Update port number in Dockerfile and server.js
This commit is contained in:
5
mock-backend/.gitignore
vendored
Normal file
5
mock-backend/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
# Elastic Beanstalk Files
|
||||
.elasticbeanstalk/*
|
||||
!.elasticbeanstalk/*.cfg.yml
|
||||
!.elasticbeanstalk/*.global.yml
|
||||
@@ -6,6 +6,6 @@ COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
|
||||
EXPOSE 7091
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "npm", "run", "start"]
|
||||
|
||||
@@ -126,6 +126,6 @@ router.render = (req, res) => {
|
||||
|
||||
server.use(router);
|
||||
|
||||
server.listen(7091, () => {
|
||||
server.listen(8080, () => {
|
||||
console.log("JSON Server is running");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user