mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-02 15:39:57 +00:00
SuiteCRM: Add Legacy Theme SCSS→CSS build step (pscss via PHP) to fix missing legacy UI styles.
See related ChatGPT conversation: https://chatgpt.com/share/69283b1f-20b0-800f-9f91-3da963470558x
This commit is contained in:
@@ -76,12 +76,16 @@ WORKDIR /var/www/html
|
|||||||
RUN apt-get update && apt-get install -y nodejs npm \
|
RUN apt-get update && apt-get install -y nodejs npm \
|
||||||
&& corepack enable && corepack prepare yarn@4.5.1 --activate
|
&& corepack enable && corepack prepare yarn@4.5.1 --activate
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
|
||||||
|
|
||||||
RUN yarn install --immutable \
|
RUN yarn install --immutable \
|
||||||
&& yarn merge-angular-json \
|
&& yarn merge-angular-json \
|
||||||
&& yarn build
|
&& yarn build
|
||||||
|
|
||||||
|
# Legacy theme SCSS -> CSS
|
||||||
|
RUN set -eux; \
|
||||||
|
php ./vendor/bin/pscss -s compressed \
|
||||||
|
public/legacy/themes/suite8/css/Dawn/style.scss \
|
||||||
|
> public/legacy/themes/suite8/css/Dawn/style.css
|
||||||
|
|
||||||
# Copy entrypoint
|
# Copy entrypoint
|
||||||
COPY {{ SUITECRM_ENTRYPOINT_SCRIPT_HOST_REL }} {{ SUITECRM_ENTRYPOINT_SCRIPT_DOCKER }}
|
COPY {{ SUITECRM_ENTRYPOINT_SCRIPT_HOST_REL }} {{ SUITECRM_ENTRYPOINT_SCRIPT_DOCKER }}
|
||||||
RUN chmod +x {{ SUITECRM_ENTRYPOINT_SCRIPT_DOCKER }}
|
RUN chmod +x {{ SUITECRM_ENTRYPOINT_SCRIPT_DOCKER }}
|
||||||
|
|||||||
Reference in New Issue
Block a user