mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-03-16 15:52:24 +00:00
Don't install svg-sprite
and sass
node modules in nginx image on linux/arm64 (https://github.com/frappe/frappe/pull/15275)
This commit is contained in:
parent
d20860f8b9
commit
b675085c75
@ -26,12 +26,7 @@ RUN yarn --cwd apps/frappe --prod
|
||||
FROM frappe_prod_node_modules as frappe_assets
|
||||
|
||||
# Install development node modules
|
||||
RUN cd apps/frappe && \
|
||||
if [ "$(uname -m)" = "aarch64" ]; then \
|
||||
yarn remove svg-sprite || true \
|
||||
&& yarn add sass; \
|
||||
fi \
|
||||
&& yarn
|
||||
RUN yarn --cwd apps/frappe
|
||||
|
||||
# Build assets they're stored in frappe-bench/sites/assets
|
||||
RUN echo "frappe" >sites/apps.txt \
|
||||
|
@ -15,12 +15,7 @@ RUN mkdir -p sites/assets
|
||||
ARG FRAPPE_VERSION
|
||||
RUN git clone --depth 1 -b ${FRAPPE_VERSION} https://github.com/frappe/frappe apps/frappe
|
||||
|
||||
RUN cd apps/frappe \
|
||||
&& if [ "$(uname -m)" = "aarch64" ]; then \
|
||||
yarn remove svg-sprite || true \
|
||||
&& yarn add sass; \
|
||||
fi \
|
||||
&& yarn
|
||||
RUN yarn --cwd apps/frappe
|
||||
|
||||
|
||||
ARG APP_NAME
|
||||
|
Loading…
x
Reference in New Issue
Block a user