Change for Node #debug

This commit is contained in:
alpha 2019-01-10 13:04:09 +01:00
parent 063dc03886
commit 231b1fd3fe
10 changed files with 34 additions and 0 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
node_modules
npm-debug.log

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM node:8
WORKDIR /usr/src/service
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD ["npm", "start"]

1
index.js Normal file
View file

@ -0,0 +1 @@
//to be

5
package-lock.json generated Normal file
View file

@ -0,0 +1,5 @@
{
"name": "time-service",
"version": "1.0.1",
"lockfileVersion": 1
}

16
package.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "time-service",
"version": "1.0.1",
"description": "Hosts Global Cliffbreak Time",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"repository": {
"type": "git",
"url": "https://git.cliffbreak.de/Cliffbreak/Time-Service.git"
},
"author": "Alpha, SimGie",
"license": "ISC",
"dependencies": {}
}