Fix Coolify nginx mount issue by baking config into UI image

This commit is contained in:
2026-07-28 13:13:37 +05:30
parent 0aa2372a1d
commit 81350bf2d2
3 changed files with 19 additions and 2 deletions
+1
View File
@@ -9,5 +9,6 @@ RUN npm run build
# Serve stage
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]