mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 10:38:58 +00:00
Merge pull request #161 from revant/fix-160
fix(frappe-nginx): fix missing /rsync
This commit is contained in:
commit
8ce9d4214d
@ -27,5 +27,6 @@ mkdir -p /home/frappe/frappe-bench/sites/assets/${APP_NAME}
|
|||||||
cp -R /home/frappe/frappe-bench/apps/${APP_NAME}/${APP_NAME}/public/* /home/frappe/frappe-bench/sites/assets/${APP_NAME}
|
cp -R /home/frappe/frappe-bench/apps/${APP_NAME}/${APP_NAME}/public/* /home/frappe/frappe-bench/sites/assets/${APP_NAME}
|
||||||
|
|
||||||
echo "rsync -a --delete /var/www/html/assets/${APP_NAME} /assets" > /rsync
|
echo "rsync -a --delete /var/www/html/assets/${APP_NAME} /assets" > /rsync
|
||||||
|
chmod +x /rsync
|
||||||
|
|
||||||
rm /home/frappe/frappe-bench/sites/apps.txt
|
rm /home/frappe/frappe-bench/sites/apps.txt
|
||||||
|
@ -32,7 +32,9 @@ COPY --from=0 /var/www/error_pages /var/www/
|
|||||||
COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.template
|
COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.template
|
||||||
COPY build/frappe-nginx/docker-entrypoint.sh /
|
COPY build/frappe-nginx/docker-entrypoint.sh /
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y rsync && apt-get clean
|
RUN apt-get update && apt-get install -y rsync && apt-get clean \
|
||||||
|
&& echo "#!/bin/bash" > /rsync \
|
||||||
|
&& chmod +x /rsync
|
||||||
|
|
||||||
VOLUME [ "/assets" ]
|
VOLUME [ "/assets" ]
|
||||||
|
|
||||||
|
@ -32,7 +32,9 @@ COPY --from=0 /var/www/error_pages /var/www/
|
|||||||
COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.template
|
COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.template
|
||||||
COPY build/frappe-nginx/docker-entrypoint.sh /
|
COPY build/frappe-nginx/docker-entrypoint.sh /
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y rsync && apt-get clean
|
RUN apt-get update && apt-get install -y rsync && apt-get clean \
|
||||||
|
&& echo "#!/bin/bash" > /rsync \
|
||||||
|
&& chmod +x /rsync
|
||||||
|
|
||||||
VOLUME [ "/assets" ]
|
VOLUME [ "/assets" ]
|
||||||
|
|
||||||
|
@ -32,7 +32,9 @@ COPY --from=0 /var/www/error_pages /var/www/
|
|||||||
COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.template
|
COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.template
|
||||||
COPY build/frappe-nginx/docker-entrypoint.sh /
|
COPY build/frappe-nginx/docker-entrypoint.sh /
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y rsync && apt-get clean
|
RUN apt-get update && apt-get install -y rsync && apt-get clean \
|
||||||
|
&& echo "#!/bin/bash" > /rsync \
|
||||||
|
&& chmod +x /rsync
|
||||||
|
|
||||||
VOLUME [ "/assets" ]
|
VOLUME [ "/assets" ]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user