fix: copy 3dmodels directory to Nginx html folder in production build
CI/CD Pipeline / Build & Validate (push) Canceled after 0s
CI/CD Pipeline / Docker Build Validation (push) Canceled after 0s

This commit is contained in:
2026-08-28 18:20:23 +05:30
parent 7144ac86cb
commit 3d43b3c206
+1
View File
@@ -24,6 +24,7 @@ RUN npm run build
FROM nginx:alpine AS production FROM nginx:alpine AS production
# Copy built assets from the build stage to Nginx # Copy built assets from the build stage to Nginx
COPY --from=build /app/dist /usr/share/nginx/html COPY --from=build /app/dist /usr/share/nginx/html
COPY --from=build /app/3dmodels /usr/share/nginx/html/3dmodels
# Copy custom nginx config # Copy custom nginx config
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80 for Nginx # Expose port 80 for Nginx