diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..0418234f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:8-slim + +# Add a non-privileged user for installing and running Janitor. +RUN groupadd --gid 10001 app \ + && useradd --uid 10001 --gid 10001 --home /app --create-home app +WORKDIR /app + +COPY . . + +USER app + +CMD ["npm", "start"]