diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..30a9de6 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +node_modules +npm-debug.log +.* \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..98ec383 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:16 + +# Create app directory +WORKDIR /usr/src/app + +# Install app dependencies +COPY package*.json ./ +RUN npm install + +# Bundle app source +COPY ./src/ . + +CMD ["npm", "run"] \ No newline at end of file