From ecdc1508ba2cc46d8131889721793f7452251f56 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Wed, 8 Jan 2025 20:38:07 +0100 Subject: [PATCH] Pongo usuario de trabajo en Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 139acf6..99ed0a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,14 @@ RUN mkdir -p $APP_HOME WORKDIR $APP_HOME USER 0 -ADD . $APP_HOME +# Install the dependencies +RUN apk add sqlite + +ADD . $APP_HOME RUN chown -R 1000770000:0 ./ USER 1000770000 -# Install the dependencies -RUN apk add sqlite RUN pip install -U "pip>=19.3.1" && \ pip install -r requirements.txt && \ # python manage.py collectstatic --noinput && \