diff options
author | tomsmeding <tom.smeding@gmail.com> | 2020-01-01 11:38:47 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2020-01-01 11:51:52 +0100 |
commit | dacca8575cb38695b39dc9e885685e6ef16ae62f (patch) | |
tree | f9d91470a202735fdb99170286f76ab142762d26 /server | |
parent | 755ca86c546e179c17c23135df0961cd7619e549 (diff) |
server: Add Dockerfile
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"] |