forked from Cliffbreak/Time-Service
Change for Node #debug
This commit is contained in:
parent
063dc03886
commit
231b1fd3fe
10 changed files with 34 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
npm-debug.log
|
10
Dockerfile
Normal file
10
Dockerfile
Normal 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
1
index.js
Normal file
|
@ -0,0 +1 @@
|
|||
//to be
|
5
package-lock.json
generated
Normal file
5
package-lock.json
generated
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"name": "time-service",
|
||||
"version": "1.0.1",
|
||||
"lockfileVersion": 1
|
||||
}
|
16
package.json
Normal file
16
package.json
Normal 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": {}
|
||||
}
|
Loading…
Reference in a new issue