diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..51a5557c62 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +.git +docker-compose.yml +node_modules +artifact.json +finnbuild.json diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..bd07d5a3fa --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM mhart/alpine-node:0.10.38 + +COPY . . + +RUN npm install --production && \ + npm run build + +EXPOSE 4242 +ENTRYPOINT ["npm"] + +CMD ["start"]