-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure docker for the application
- Loading branch information
Rahul Thakur
authored and
Rahul Thakur
committed
May 26, 2024
1 parent
d0cd71e
commit d02bf70
Showing
8 changed files
with
903 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
|
Oops, something went wrong.