summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/index-task/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/docker/index-task/Dockerfile')
-rw-r--r--taskcluster/docker/index-task/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/taskcluster/docker/index-task/Dockerfile b/taskcluster/docker/index-task/Dockerfile
new file mode 100644
index 0000000000..493eda4e20
--- /dev/null
+++ b/taskcluster/docker/index-task/Dockerfile
@@ -0,0 +1,11 @@
+FROM node:10-alpine
+
+ENV NODE_ENV production
+RUN mkdir /app
+ADD insert-indexes.js /app/
+ADD package.json /app/
+ADD yarn.lock /app/
+WORKDIR /app
+RUN yarn --frozen-lockfile && yarn cache clean
+
+ENTRYPOINT ["node"]