Docker optimisation (#74)

* optimised docker image.

* bump version

Co-authored-by: Peter Dwyer <peter.dwyer@clanwilliamhealth.com>
This commit is contained in:
2022-08-26 16:08:48 +01:00
committed by GitHub
parent 40b79c2f5d
commit 5ca3c396ea
5 changed files with 22 additions and 25 deletions

View File

@@ -117,7 +117,7 @@ LOGIN_URL = "/login/"
UNRAR_TOOL = os.getenv("DJANGO_UNRAR_TOOL", None)
COMIC_BOOK_VOLUME = Path(os.getenv("COMIC_BOOK_VOLUME"))
COMIC_BOOK_VOLUME = Path(os.getenv("COMIC_BOOK_VOLUME", '/comics'))
from .logger import LOGGING
@@ -185,13 +185,12 @@ SIMPLE_JWT = {
'LEEWAY': timedelta(minutes=5),
}
TEMPLATES_DIR = os.path.join(BASE_DIR, 'templates')
FRONTEND_DIR = os.path.join(BASE_DIR, 'frontend')
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [TEMPLATES_DIR, ],
"DIRS": [],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [