Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# base operating system that is small enough
FROM node:16
#selects a working directory
WORKDIR /app
#copy presents directory to app directory
COPY package*.json /app
#install dependencies
RUN npm install
COPY . .


#exposes port 3000
EXPOSE 3000
#commands to pass
CMD ["node", "index.js"]
Loading