fix: add Node.js CSS build step to Dockerfile, fix Caddyfile for local testing
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m11s

This commit is contained in:
ismail 2026-05-12 00:27:35 +03:00
parent b2209ae458
commit b5335bc9bc
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
px360test2.tenhal.sa { http://:80, http://px360test2.tenhal.sa {
encode gzip encode gzip
handle_path /static/* { handle_path /static/* {

View File

@ -21,6 +21,13 @@ RUN pip install --upgrade pip setuptools wheel && \
COPY . . COPY . .
RUN apt-get update && apt-get install -y --no-install-recommends \
nodejs \
npm \
&& rm -rf /var/lib/apt/lists/*
RUN npm install && npm run build:css
RUN python manage.py collectstatic --noinput || true RUN python manage.py collectstatic --noinput || true