diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..555f430 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:19.0-alpine + +# set working directory +WORKDIR /usr/src/app + +# add _/usr/src/app/node_modules/.bin_ to $PATH +ENV PATH /usr/src/app/node_modules/.bin:$PATH + +# install app dependencies +COPY package.json . +COPY yarn.lock . + +RUN yarn install --production \ No newline at end of file