diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..93f1361 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +npm-debug.log diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7104f28 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:8 +WORKDIR /usr/src/service +COPY package*.json ./ +RUN npm install +COPY . . +EXPOSE 8080 +CMD ["npm", "start"] + + + diff --git a/index.js b/index.js new file mode 100644 index 0000000..ab9dc83 --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +//to be diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..06ff36e --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "time-service", + "version": "1.0.1", + "lockfileVersion": 1 +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..63c1163 --- /dev/null +++ b/package.json @@ -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": {} +} diff --git a/index.html b/page/index.html similarity index 100% rename from index.html rename to page/index.html diff --git a/js/clock.js b/page/js/clock.js similarity index 100% rename from js/clock.js rename to page/js/clock.js diff --git a/js/jquery-3.2.1.min.js b/page/js/jquery-3.2.1.min.js similarity index 100% rename from js/jquery-3.2.1.min.js rename to page/js/jquery-3.2.1.min.js diff --git a/js/load.js b/page/js/load.js similarity index 100% rename from js/load.js rename to page/js/load.js diff --git a/js/particles.js b/page/js/particles.js similarity index 100% rename from js/particles.js rename to page/js/particles.js