summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/index-task/Dockerfile
blob: 493eda4e20ff6372c04a7b63bc28a70df670a626 (plain)
1
2
3
4
5
6
7
8
9
10
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"]