diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f865d0a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM node:14 +RUN git clone https://github.com/IsmailAhmed98/example-app-nodejs-backend-react-frontend.git && cd /example-app-nodejs-backend-react-frontend && npm install && npm run build +EXPOSE 3000 +WORKDIR /example-app-nodejs-backend-react-frontend +CMD ["npm", "start", "--host", "0.0.0.0"]