Initial commit

This commit is contained in:
Magzhan_Zhumabaev
2025-09-07 13:57:56 +05:00
commit bba9db9985
118 changed files with 27498 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# Multi-stage build for Vue.js application
FROM node:18-alpine AS builder
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Copy source code
COPY . .
# Build the application
RUN npm run build
# Production stage
FROM nginx:alpine AS production
# Copy built assets from builder stage
COPY --from=builder /app/dist /usr/share/nginx/html
# Copy custom nginx configuration
COPY nginx.conf /etc/nginx/nginx.conf
# Expose port 80
EXPOSE 80
# Start nginx
CMD ["nginx", "-g", "daemon off;"]