From 020567c5d194f80be0747b929018c4536ef9a7bb Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Wed, 8 Jan 2025 20:47:16 +0100 Subject: [PATCH] =?UTF-8?q?Pongo=20usuario=20de=20trabajo=20en=20Dockerfil?= =?UTF-8?q?e,=20versi=C3=B3n=207?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4d96cf5..1b7fcd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM python:3.14.0a3-alpine3.20 # Add application sources with correct permissions for OpenShift ENV APP_HOME=/app RUN mkdir -p $APP_HOME +ADD . $APP_HOME USER 0 @@ -15,7 +16,6 @@ RUN pip install -U "pip>=19.3.1" && \ python $APP_HOME/manage.py migrate WORKDIR $APP_HOME -ADD . $APP_HOME RUN chown -R 1000770000:0 ./ USER 1000770000