Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhilashKD authored Aug 29, 2024
1 parent df1c7d4 commit 6e8dfd9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:16 as dependencies
WORKDIR /app
COPY . ./
RUN npm i
RUN npm install pg --save
RUN apt-get update
EXPOSE 3000
CMD ["npm", "start"]

0 comments on commit 6e8dfd9

Please sign in to comment.