Compare commits

...

2 Commits

Author SHA1 Message Date
Sambo Chea a232794657 add Dockerfile 2020-04-17 21:36:49 +07:00
Sambo Chea 2a990a818a add index.js 2020-04-17 21:33:59 +07:00
2 changed files with 21 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM node:alpine
WORKDIR /app
COPY package.json /app
RUN npm install
COPY . /app
CMD node index.js
EXPOSE 8080

10
index.js Normal file
View File

@ -0,0 +1,10 @@
var express = require('express')
var app = express()
app.get('/', function (req, res) {
res.send('Hello from CUBETIQ!')
})
app.listen(7000, function () {
console.log('app listening on port 7000!')
})