From 7c5afe8a171a6b1150e7c690fcff50d072201a24 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Thu, 22 Aug 2024 21:26:34 +0200 Subject: initial commit --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') 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 +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"] -- cgit v1.2.3-70-g09d2