From f19ff72b3c1b2007ec5a059d9a9adb04a38bf800 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Tue, 15 Apr 2025 12:36:40 +0200 Subject: [PATCH] =?UTF-8?q?Pone=20versi=C3=B3n=20seg=C3=BAn=20si=20es=20op?= =?UTF-8?q?enshift=20o=20no?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile.k8s | 8 +------- src/templates/acerca_de.html | 8 ++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Dockerfile.k8s b/Dockerfile.k8s index 23368f3..b5e6afd 100644 --- a/Dockerfile.k8s +++ b/Dockerfile.k8s @@ -33,9 +33,6 @@ RUN pip wheel --no-cache-dir --no-deps --wheel-dir /app/wheels -r requirements.t FROM python:3.11.4-slim-buster -# create the app user -#RUN addgroup --system app && adduser --system --group app - # create the appropriate directories ENV APP_HOME=/app RUN mkdir -p $APP_HOME @@ -56,11 +53,8 @@ COPY ./entrypoint.sh . # copy project COPY . $APP_HOME -# chown all the files to the app user -#RUN chown -R app:app $APP_HOME - # change to the app user -#USER app + WORKDIR $APP_HOME/src # run entrypoint.sh diff --git a/src/templates/acerca_de.html b/src/templates/acerca_de.html index f4a8ae3..14e0bdc 100644 --- a/src/templates/acerca_de.html +++ b/src/templates/acerca_de.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% load filtros_de_entorno %} + {% block content %}

Acerca de...

@@ -10,7 +12,13 @@