Adding some docker and terraform to it ... wip

This commit is contained in:
Joe Tretter
2022-09-29 13:39:46 -05:00
parent e359485d94
commit b50c7e9ddc
15 changed files with 428 additions and 182 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:current-slim
# To Create nodejsapp directory
WORKDIR /nodejsapp
# To Install All dependencies
COPY package*.json ./
RUN npm install
# To copy all application packages
COPY . .
# Expose port 1280 and Run the server.js file to start node js application
EXPOSE 1280
CMD [ "node", "dumbserver.js" ]