mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-12 16:26:35 +00:00
Merge pull request #569 from Meradoch/patch-1
Fix permission denied error
This commit is contained in:
commit
56c3341d74
@ -67,14 +67,13 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then export ARCH=arm64; fi \
|
|||||||
&& dpkg -i $downloaded_file \
|
&& dpkg -i $downloaded_file \
|
||||||
&& rm $downloaded_file
|
&& rm $downloaded_file
|
||||||
|
|
||||||
RUN chown -R frappe:frappe /home/frappe
|
|
||||||
|
|
||||||
# Setup docker-entrypoint
|
# Setup docker-entrypoint
|
||||||
COPY build/frappe-worker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
COPY build/frappe-worker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||||
RUN ln -s /usr/local/bin/docker-entrypoint.sh / # backwards compat
|
RUN ln -s /usr/local/bin/docker-entrypoint.sh / # backwards compat
|
||||||
|
|
||||||
USER frappe
|
|
||||||
WORKDIR /home/frappe/frappe-bench
|
WORKDIR /home/frappe/frappe-bench
|
||||||
|
RUN chown -R frappe:frappe /home/frappe
|
||||||
|
USER frappe
|
||||||
|
|
||||||
# Create frappe-bench directories
|
# Create frappe-bench directories
|
||||||
RUN mkdir -p apps logs commands sites /home/frappe/backups
|
RUN mkdir -p apps logs commands sites /home/frappe/backups
|
||||||
|
Loading…
Reference in New Issue
Block a user