force redeploy without devsecops v3
All checks were successful
Build and Deploy Angular App HIS / build (push) Successful in 43s
Build and Deploy Angular App HIS / deploy (push) Successful in 53s

This commit is contained in:
m.imanpour
2025-12-10 01:24:55 +03:30
parent 6627a97eb2
commit 08c693bede
2 changed files with 5 additions and 2 deletions

View File

@@ -16,10 +16,13 @@ RUN npm run build -- --configuration production
# ===== Stage 2: Serve static files with Nginx (app service) =====
FROM nginx:alpine
# Install curl for healthcheck (nginx:alpine doesn't have wget/curl by default)
RUN apk add --no-cache curl
# Remove default Nginx files
RUN rm -rf /usr/share/nginx/html/*
# Copy built Angular app (updated for Angular 17+ default output)
# Copy built Angular app
COPY --from=builder /app/dist/niayesh-hospital/browser /usr/share/nginx/html
# Copy app-specific Nginx config for SPA routing