added docker

This commit is contained in:
Hardik Joshi 2026-05-26 12:50:00 +05:30
parent a6b7820279
commit 6e3408ef7c
3 changed files with 2600 additions and 4435 deletions

9
.dockerignore Normal file
View File

@ -0,0 +1,9 @@
node_modules
dist
build
.git
.gitignore
Dockerfile
.dockerignore
README.md
.env

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM node:20-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

7007
yarn.lock

File diff suppressed because it is too large Load Diff