aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-05-30 06:38:58 -0700
committerAdam Soltys <[email protected]>2021-06-09 16:06:45 -0700
commitc5374c599a9d96507bff6ff6d5b9e1f355e89eff (patch)
treedef064241e92be3f2f589dc67d161d25264dce59 /Dockerfile
parent441cc95d60d198cc54a36a758d5fc8c4fe363938 (diff)
downloadcoinos-server-c5374c599a9d96507bff6ff6d5b9e1f355e89eff.tar.gz
coinos-server-c5374c599a9d96507bff6ff6d5b9e1f355e89eff.zip
changes to dev environment
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"]