mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 15:25:09 +00:00
Update Socketio Dockerfile (#831)
Changing user to frappe makes all after commands make executable under frappe user except COPY command so trying with externally specifying with --chown=frappe:frappe
This commit is contained in:
parent
2b6c8b6fa9
commit
b58a1a6d6f
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ USER frappe
|
||||||
WORKDIR /home/frappe/frappe-bench
|
WORKDIR /home/frappe/frappe-bench
|
||||||
RUN mkdir -p sites apps/frappe
|
RUN mkdir -p sites apps/frappe
|
||||||
|
|
||||||
COPY --from=builder /opt/frappe/socketio.js /opt/frappe/node_utils.js apps/frappe/
|
COPY --chown=frappe:frappe --from=builder /opt/frappe/socketio.js /opt/frappe/node_utils.js apps/frappe/
|
||||||
COPY package.json apps/frappe/
|
COPY --chown=frappe:frappe package.json apps/frappe/
|
||||||
|
|
||||||
RUN cd apps/frappe \
|
RUN cd apps/frappe \
|
||||||
&& npm install
|
&& npm install
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue