Skip to content

Commit

Permalink
Merge pull request #6 from pcpd-tjo/UntoldGam-patch-1
Browse files Browse the repository at this point in the history
Change PORT
  • Loading branch information
UntoldGam authored Aug 21, 2024
2 parents c309118 + 4c521d5 commit 052f8ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ENV NODE_ENV=production
WORKDIR /usr/src/bot
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
COPY . .
EXPOSE 3000
EXPOSE 4002

RUN apt-get update -y
RUN apt-get install -y python3
Expand Down
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export default async function () {

});

const listener = app.listen(3001, () => {
const listener = app.listen(process.env.PORT, () => {
console.log("Your app is listening on port " + listener.address().port);
console.log(listener.address());
});
}
}

0 comments on commit 052f8ae

Please sign in to comment.