M .gitignore => .gitignore +1 -0
@@ 8,6 8,7 @@ db.sqlite3
media/
static/
venv/
+django/core/static/core/css/
### Sass ###
.sass-cache/
*.css.map
M django/Dockerfile => django/Dockerfile +1 -1
@@ 29,7 29,7 @@ WORKDIR /srv/app
# Runtime Dependencies
RUN apk add py3-olefile brotli-libs libpng freetype libxcb \
libimagequant libjpeg-turbo lcms2 openjpeg libwebp zstd-libs \
- tiff libxau libmd libbsd libxdmcp libpq nginx
+ tiff libxau libmd libbsd libxdmcp libpq sassc nginx
COPY --from=builder /install /usr/local
COPY core/ /srv/app/core
M django/entrypoint.sh => django/entrypoint.sh +1 -0
@@ 152,6 152,7 @@ EMAIL_USE_TLS = ${EMAIL_USE_TLS:-True}
EOF
fi
+cd /srv/app/core/static/core && make
cd /srv/app || exit
/usr/local/bin/python3 manage.py makemigrations --no-input
/usr/local/bin/python3 manage.py migrate --no-input