diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..3c3629e647 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +node_modules diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..d69f533201 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:9.9-alpine + +ENV APP_DIR /src/app/ + +RUN mkdir -p $APP_DIR + +ADD ./package.json ${APP_DIR} + +WORKDIR $APP_DIR + +RUN ["npm", "install"] + +COPY . .