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

Fix permission denied error

This commit is contained in:
Meradoch 2021-11-18 14:58:25 +03:00 committed by GitHub
parent b7d990b2a5
commit ccc3fc2707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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