Taboada — Panel de supervisión
-Panel en construcción (Fase B).
-diff --git a/backend/Dockerfile b/backend/Dockerfile index 6208b0c..44702db 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -17,9 +17,12 @@ RUN npm ci --omit=dev COPY --chown=node:node backend/src ./src # Frontend + config nginx horneados. -# --chmod garantiza lectura por el usuario nginx en runtime, -# independientemente de los permisos del archivo fuente en el host. -COPY --chmod=644 frontend/checada.html frontend/panel.html /usr/share/nginx/html/ +# El directorio debe quedar 0755 (traverse) para que el usuario nginx pueda +# stat/leer los archivos; copiar con `--chmod=644 … /dir/` deja el propio +# directorio en 0644 y nginx falla con "Permission denied". Por eso se fijan +# los permisos explícitamente después del COPY. +COPY frontend/checada.html frontend/panel.html /usr/share/nginx/html/ +RUN chmod 755 /usr/share/nginx/html && chmod 644 /usr/share/nginx/html/*.html COPY --chmod=644 backend/nginx-default.conf /etc/nginx/http.d/default.conf COPY --chmod=755 backend/docker-entrypoint.sh /docker-entrypoint.sh diff --git a/frontend/panel.html b/frontend/panel.html index ce7567f..72116cb 100644 --- a/frontend/panel.html +++ b/frontend/panel.html @@ -1,19 +1,520 @@
- - -Panel en construcción (Fase B).
-