aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 57631e3a..f2b111ec 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,12 +1,16 @@
-FROM node:15-alpine
+FROM node:slim
ARG NODE_ENV=production
ENV NODE_ENV $NODE_ENV
-RUN apk add --no-cache -U git
+RUN apt-get update
+RUN apt-get install git make gcc g++ python libzmq3-dev -y
RUN git clone https://github.com/asoltys/coinos-server /app
WORKDIR /app
+
RUN yarn install
+ENV SHELL /bin/bash
+
CMD ["yarn", "start"]