Skip to content

Commit

Permalink
Docker file Update with Defination
Browse files Browse the repository at this point in the history
  • Loading branch information
dheeruyadav54 authored Jul 22, 2024
1 parent 90f2aae commit f7519e7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Node Base Image
FROM node:12.2.0-alpine
WORKDIR app

#Working Directry
WORKDIR /node

#Copy the Code
COPY . .

#Install the dependecies
RUN npm install
RUN npm run test
EXPOSE 8000

#Run the code
CMD ["node","app.js"]

0 comments on commit f7519e7

Please sign in to comment.