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
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m11s
This commit is contained in:
parent
b2209ae458
commit
b5335bc9bc
@ -1,4 +1,4 @@
|
|||||||
px360test2.tenhal.sa {
|
http://:80, http://px360test2.tenhal.sa {
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
handle_path /static/* {
|
handle_path /static/* {
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user