100% dockerized

This commit is contained in:
nicco
2018-07-26 11:42:38 +02:00
parent f362c5770d
commit 7b7c95c17a
4 changed files with 50 additions and 17 deletions

View File

@@ -1,9 +0,0 @@
version: "3.5"
services:
cache:
build: .
user: nobody
ports:
- 8000:8000
restart: always

8
cache/dockerfile vendored
View File

@@ -1,8 +0,0 @@
FROM node:alpine
WORKDIR /app
USER nobody
COPY ./app.js ./.key ./
ENTRYPOINT [ "node" ]
CMD [ "app.js" ]