my ccompany + footer+ nofit + ...

This commit is contained in:
hamid zarghami
2025-05-21 15:54:02 +03:30
parent 70b7434a3e
commit 836c1168b2
50 changed files with 1137 additions and 5321 deletions
+4 -8
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
@@ -25,4 +21,4 @@ RUN cat /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]