2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 10:38:58 +00:00

Proposed changes to fix permission errors with mkdir

This commit is contained in:
Meradoch 2021-11-18 18:40:30 +03:00
parent ccc3fc2707
commit 2fa61e9868

View File

@ -67,16 +67,12 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then export ARCH=arm64; fi \
&& dpkg -i $downloaded_file \
&& rm $downloaded_file
RUN chown -R frappe:frappe /home/frappe
# Setup docker-entrypoint
COPY build/frappe-worker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN ln -s /usr/local/bin/docker-entrypoint.sh / # backwards compat
WORKDIR /home/frappe/frappe-bench
RUN chown -R frappe:frappe /home/frappe/frappe-bench
RUN chown -R frappe:frappe /home/frappe
USER frappe
# Create frappe-bench directories