Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef0b2c7dad | ||
|
|
44c5ac8e4c | ||
|
|
e61493ded3 | ||
|
|
ae772a3d16 |
+2
-2
@@ -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
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -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 = "*"
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user