docket file

This commit is contained in:
hamid zarghami
2025-05-19 16:32:55 +03:30
parent c5c3b0a952
commit 75d671545b
5 changed files with 1114 additions and 7633 deletions
+3 -7
View File
@@ -6,15 +6,11 @@ RUN apk add --no-cache tzdata
# Set the timezone to Asia/Tehran
RUN cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && echo "Asia/Tehran" > /etc/timezone
# Install pnpm
RUN npm install -g corepack@latest
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /build
COPY package*.json pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile
COPY package*.json ./
RUN npm ci --legacy-peer-deps
COPY . ./
RUN pnpm run build
RUN npm run build
FROM nginx:stable-alpine AS production-stage
+1107 -1111
View File
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -59,6 +59,5 @@
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.1",
"vite": "^6.0.3"
},
"packageManager": "pnpm@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677"
}
}
-6512
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -113,6 +113,8 @@ const CreateCompany: FC = () => {
const coverUploadRes = await singleUpload.mutateAsync(formDataCover)
values.coverImageUrl = coverUploadRes.data.url
await createCompany.mutateAsync(values, {
onSuccess: () => {
toast.success('شرکت با موفقیت ثبت شد')