Created
January 23, 2021 23:02
-
-
Save varqasim/5e17a5d566f1d0b19ca9c93bcdb91074 to your computer and use it in GitHub Desktop.
Revisions
-
varqasim revised this gist
Jan 23, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ var app = express(); var PORT = 3000; app.get('/', (req, res) => { res.send("Hello World") }) app.listen(PORT, function(err){ -
varqasim created this gist
Jan 23, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ FROM node:12.16.3-alpine COPY package.json package-lock*.json ./ RUN npm install COPY . . RUN npm run build CMD ["npm", "run", "start"] This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ var express = require('express'); var app = express(); var PORT = 3000; app.get('/', (req, res) => { res.send("GET Request Called") }) app.listen(PORT, function(err){ if (err) console.log(err); console.log("Server listening on PORT", PORT); });