aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..57631e3a
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+FROM node:15-alpine
+
+ARG NODE_ENV=production
+ENV NODE_ENV $NODE_ENV
+
+RUN apk add --no-cache -U git
+
+RUN git clone https://github.com/asoltys/coinos-server /app
+WORKDIR /app
+RUN yarn install
+
+CMD ["yarn", "start"]