diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3e7303b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM docker.io/node:lts-alpine + +MAINTAINER Hende, Botond <nettingman@gmail.com> +LABEL Description="Ethercalc server" + +ENV NODE_ENV=production +ENV OPENSHIFT_DATA_DIR=/srv/ethercalc + +RUN npm install --global ethercalc +RUN mkdir /srv/ethercalc && chown -R node:node /srv/ethercalc + +WORKDIR /srv/ethercalc +USER node +EXPOSE 8000/tcp + +CMD ["/usr/local/bin/ethercalc"] |