force redeploy without devsecops v3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user