fix(deploy): use bridge nexus IP and add USER root to Dockerfile
Deploy Canina / deploy (push) Has been cancelled

This commit is contained in:
parsa aghaei committed 2026-08-15 15:48:35 +03:30
1 parent 0625b45ca7
commit adcafa1041
4 files changed
+6 -6

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ ENV VITE_API_URL=$VITE_API_URL
RUN npm run build
FROM node:20-alpine
USER root
RUN addgroup -S nginx 2>/dev/null || true && adduser -S nginx -G nginx 2>/dev/null || true
RUN mkdir -p /var/log/nginx /var/cache/nginx /run/nginx /etc/nginx/conf.d /etc/nginx/http.d
COPY --from=nginx:alpine /etc/nginx /etc/nginx