Skip to content

Commit

Permalink
port 80
Browse files Browse the repository at this point in the history
  • Loading branch information
yossi-eynav committed Dec 2, 2023
1 parent cbc5562 commit 2bb3152
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/.aws/task-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"cpu": 0,
"portMappings": [
{
"containerPort": 3000,
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp"
}
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN npm install

COPY . .
# Expose port 3000 (or whatever port your app runs on)
EXPOSE 3000
EXPOSE 80

# Command to run the application
CMD $ENTRY
2 changes: 1 addition & 1 deletion server/bin/serve
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ mainApp.use('/api', apiApp);
mainApp.use('/', staticApp);

const server = http.createServer(mainApp);
const port = normalizePort(process.env.PORT || '3000');
const port = normalizePort(process.env.PORT || '80');
server.listen(port);

server.on('error', (error) => {
Expand Down

0 comments on commit 2bb3152

Please sign in to comment.