Update port number in Dockerfile and server.js

This commit is contained in:
Alex
2024-02-18 19:12:58 +00:00
parent 8cc5e9db13
commit 4375215baa
3 changed files with 7 additions and 2 deletions

5
mock-backend/.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

View File

@@ -6,6 +6,6 @@ COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 7091
EXPOSE 8080
CMD [ "npm", "run", "start"]

View File

@@ -126,6 +126,6 @@ router.render = (req, res) => {
server.use(router);
server.listen(7091, () => {
server.listen(8080, () => {
console.log("JSON Server is running");
});