File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242
4343 - name : Run the Container
4444
45- run : docker run -d -p 8080:8080 --name curve-server-container -e JWT_SECRET=${{ secrets.JWT_SECRET }} -e PORT=8080 -e MONGODB_URI=${{ secrets.MONGODB_URI }} -e ENV='production' -e GOOGLE_APP_PASSWORD=${{ secrets.GOOGLE_APP_PASSWORD }} mohnb33/curve-server:latest
45+ run : docker run -d -p 8080:8080 --name curve-server-container -e JWT_SECRET=${{ secrets.JWT_SECRET }} -e MONGODB_URI=${{ secrets.MONGODB_URI }} -e ENV='production' -e GOOGLE_APP_PASSWORD=${{ secrets.GOOGLE_APP_PASSWORD }} mohnb33/curve-server:latest
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const testCode = `print(\"Hello\")`;
4141 }
4242} ) ( )
4343
44- app . listen ( process . env . PORT , '0.0.0.0' , ( ) => {
44+ app . listen ( process . env . PORT || 8080 , '0.0.0.0' , ( ) => {
4545 connectDB ( )
4646 console . log ( `Server is Running at 0.0.0.0:${ process . env . PORT } ` )
4747} )
You can’t perform that action at this time.
0 commit comments