aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-16 15:58:52 -0700
committerAdam Soltys <[email protected]>2022-09-24 09:05:08 -0700
commitdf0956ff9813ee15fe28109441fc01c44bf765e9 (patch)
tree9366c43d6d3ba7842ba5368559acbe50e5d1877c /Dockerfile
parent60efe3a4b3eb36a0585392fd2b3ceb60caf14bf2 (diff)
downloadcoinos-ui-df0956ff9813ee15fe28109441fc01c44bf765e9.tar.gz
coinos-ui-df0956ff9813ee15fe28109441fc01c44bf765e9.zip
dockerfiles
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..e1505f53
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
+FROM gcr.io/coinos-326717/github.com/coinos/coinos-ui:base
+
+ARG NODE_ENV=production
+ENV NODE_ENV $NODE_ENV
+
+WORKDIR /app
+COPY . .
+RUN mv /deps/node_modules /app
+RUN pnpm build
+
+CMD ["node", "build"]