mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
Revert "fix all entrypoint.sh permissions to 755"
This reverts commit c7ac6b7666.
This commit is contained in:
parent
f2d96ab8eb
commit
93ade44c6b
3 changed files with 3 additions and 4 deletions
|
|
@ -163,7 +163,7 @@ VOLUME [ \
|
||||||
USER root
|
USER root
|
||||||
# This entrypoint script link build assets of the image to the mounted sites volume at container initialization
|
# This entrypoint script link build assets of the image to the mounted sites volume at container initialization
|
||||||
COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ VOLUME [ \
|
||||||
USER root
|
USER root
|
||||||
# This entrypoint script link build assets of the image to the mounted sites volume at container initialization
|
# This entrypoint script link build assets of the image to the mounted sites volume at container initialization
|
||||||
COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
RUN chmod ugo+rx /usr/local/bin/entrypoint.sh
|
||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,6 @@ RUN useradd -ms /bin/bash frappe \
|
||||||
COPY resources/core/nginx/nginx-template.conf /templates/nginx/frappe.conf.template
|
COPY resources/core/nginx/nginx-template.conf /templates/nginx/frappe.conf.template
|
||||||
COPY resources/core/nginx/nginx-entrypoint.sh /usr/local/bin/nginx-entrypoint.sh
|
COPY resources/core/nginx/nginx-entrypoint.sh /usr/local/bin/nginx-entrypoint.sh
|
||||||
COPY resources/core/nginx/security_headers.conf /etc/nginx/snippets/security_headers.conf
|
COPY resources/core/nginx/security_headers.conf /etc/nginx/snippets/security_headers.conf
|
||||||
RUN chmod 755 /usr/local/bin/nginx-entrypoint.sh
|
|
||||||
|
|
||||||
FROM base AS build
|
FROM base AS build
|
||||||
|
|
||||||
|
|
@ -154,7 +153,7 @@ VOLUME [ \
|
||||||
USER root
|
USER root
|
||||||
# This entrypoint script link build assets of the image to the mounted sites volume at container initialization
|
# This entrypoint script link build assets of the image to the mounted sites volume at container initialization
|
||||||
COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue