diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0493029 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Use Node.js base image +FROM node:14-alpine + +WORKDIR /usr/src/app + +COPY package*.json ./ + +RUN npm install + +COPY . . + +RUN npm run build + +# Port 3000 +EXPOSE 3000 + +CMD ["npm", "start"]