Skip to content

Commit

Permalink
configure docker for the application
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Thakur authored and Rahul Thakur committed May 26, 2024
1 parent d0cd71e commit d02bf70
Show file tree
Hide file tree
Showing 8 changed files with 903 additions and 108 deletions.
1 change: 1 addition & 0 deletions client/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
16 changes: 16 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:lts-buster-slim AS development


WORKDIR /usr/src/app

COPY package.json /usr/src/app
COPY package-lock.json /usr/src/app

RUN npm install

COPY . /usr/src/app

RUN npm run build

CMD ["npm", "run", "dev"]

Loading

0 comments on commit d02bf70

Please sign in to comment.