From 039b7753ca91b85460e0e6ff7f49070bb8083ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org> Date: Sat, 28 Jan 2023 00:50:36 +0100 Subject: [PATCH] update dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 177b8c0..f4221d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get install nodejs && rm -rf /var/lib/apt/lists/* COPY . . -RUN pip install -r requirements/base.txt -r requirements/prod.txt +RUN pip install -r requirements/base.txt -r requirements/production.txt RUN npm install RUN npm run build @@ -16,14 +16,14 @@ RUN npm run build RUN DATABASE_URL=postgres://x/x \ SECRET_KEY=x \ ALLOWED_HOSTS=x \ - python manage.py collectstatic --noinput --settings=rybicka.settings.prod + python manage.py collectstatic --noinput --settings=rybicka.settings.production RUN bash -c "adduser --disabled-login --quiet --gecos app app && \ chmod -R o+r /app/ && \ chmod o+x /app/run.sh" USER app -ENV DJANGO_SETTINGS_MODULE "rybicka.settings.prod" +ENV DJANGO_SETTINGS_MODULE "rybicka.settings.production" EXPOSE 8000 -- GitLab