diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/.dockerignore | 2 | ||||
-rw-r--r-- | server/Dockerfile | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/server/.dockerignore b/server/.dockerignore new file mode 100644 index 0000000..536bffa --- /dev/null +++ b/server/.dockerignore @@ -0,0 +1,2 @@ +/images +/persist diff --git a/server/Dockerfile b/server/Dockerfile new file mode 100644 index 0000000..b60b0b8 --- /dev/null +++ b/server/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:3.11 + +RUN apk add --no-cache nodejs npm + +WORKDIR /serverstore +COPY . . +RUN npm install + +ENTRYPOINT ["./serverstore.js"] |