4 Commits
Author SHA1 Message Date
marc ef0b2c7dad 3.9 in dockerfile
Docker / build (push) Canceled after 0s
Pylint / build (push) Canceled after 0s
2023-11-06 10:24:02 +01:00
marc 44c5ac8e4c 3.9 that works 2023-11-06 10:20:19 +01:00
marc e61493ded3 crispy-bootstrap4 2023-11-06 10:16:52 +01:00
marc ae772a3d16 3.9 2023-11-06 10:16:34 +01:00
5 changed files with 379 additions and 555 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM python:3.7.17-alpine as builder
FROM python:3.9-alpine as builder
# Pre installations
RUN apk update
@@ -17,7 +17,7 @@ RUN npm update
RUN npm install
# Image of production
FROM python:3.7.17-alpine
FROM python:3.9-alpine
# FROM alpine
ENV SECRET_KEY=whatever
# ARG timestamp
Generated
+373 -552
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -5,7 +5,7 @@ description = ""
authors = ["Marc Partensky <marc.partensky@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.7"
python = "^3.9"
Django = "*"
python-dotenv = "*"
channels = "*"
@@ -31,6 +31,7 @@ django-cors-headers = "*"
Pillow = "*"
psycopg2-binary = "*"
whitenoise = "*"
crispy-bootstrap4 = "^2023.1"
[tool.poetry.dev-dependencies]
pytest = "*"
+2
View File
@@ -92,6 +92,7 @@ INSTALLED_APPS = [
"django.contrib.staticfiles",
"storages",
"crispy_forms",
"crispy_bootstrap4",
"django_extensions",
# allauth stuff
"django.contrib.sites",
@@ -306,6 +307,7 @@ STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
MEDIA_URL = "/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4"
CRISPY_TEMPLATE_PACK = "bootstrap4"
LOGIN_REDIRECT_URL = "profile"
Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB