From 9dead362c1fd49c447eccebcab7a0f9ae524d2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 7 Jan 2023 18:09:22 +0100 Subject: [PATCH] Set STATIC_ROOT --- Dockerfile | 2 +- src/web/web/settings.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6fb1053..6f7de02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN npm install && \ FROM python:3.10-slim-bullseye -ENV VERSION_NUMBER 0.1.0-49-gf550978 +ENV VERSION_NUMBER 0.1.0-50-gd81dba7 ENV PROD 1 RUN useradd --create-home --uid 1000 timetracker diff --git a/src/web/web/settings.py b/src/web/web/settings.py index 3b0731c..9555f10 100644 --- a/src/web/web/settings.py +++ b/src/web/web/settings.py @@ -123,6 +123,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/4.1/howto/static-files/ STATIC_URL = "static/" +STATIC_ROOT = BASE_DIR / "/static" # Default primary key field type # https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field