diff --git a/build/frappe-worker/Dockerfile b/build/frappe-worker/Dockerfile index 4e9da53b..af1a71f6 100644 --- a/build/frappe-worker/Dockerfile +++ b/build/frappe-worker/Dockerfile @@ -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