mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-25 16:18:32 +00:00
Proposed changes to fix permission errors with mkdir
This commit is contained in:
parent
ccc3fc2707
commit
2fa61e9868
@ -67,16 +67,12 @@ 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
|
||||||
|
|
||||||
WORKDIR /home/frappe/frappe-bench
|
WORKDIR /home/frappe/frappe-bench
|
||||||
|
RUN chown -R frappe:frappe /home/frappe
|
||||||
RUN chown -R frappe:frappe /home/frappe/frappe-bench
|
|
||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
|
|
||||||
# Create frappe-bench directories
|
# Create frappe-bench directories
|
||||||
|
Loading…
x
Reference in New Issue
Block a user