summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 3e7303b1465e842e68a3a727aea38ac45e225993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"]