2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 23:00:56 +00:00

Merge pull request #569 from Meradoch/patch-1

Fix permission denied error
This commit is contained in:
Revant Nandgaonkar 2021-11-19 04:06:08 +05:30 committed by GitHub
commit 56c3341d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,14 +67,13 @@ 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
USER frappe
WORKDIR /home/frappe/frappe-bench
RUN chown -R frappe:frappe /home/frappe
USER frappe
# Create frappe-bench directories
RUN mkdir -p apps logs commands sites /home/frappe/backups