diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-12-31 17:43:30 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-12-31 17:43:30 +0100 |
commit | b41a370dfc8e602eca6c0b37a6eac22e8de8e1bb (patch) | |
tree | dd80af139e15a9db40ff7a769d170436bdd065d9 | |
parent | 7c8541e4363dc82341bb9d7bd4afdd8b99e0edf4 (diff) |
Docker-ready
-rw-r--r-- | .dockerignore | 1 | ||||
-rw-r--r-- | Dockerfile | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..802b0c0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +persist diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2b38630 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:3.11 + +RUN apk add --no-cache nodejs npm + +WORKDIR /webserver +COPY . . +RUN npm install + +ENTRYPOINT ["./webserver.js"] |