mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 14:50:58 +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
@ -14,8 +14,8 @@ USER frappe
|
||||
WORKDIR /home/frappe/frappe-bench
|
||||
RUN mkdir -p sites apps/frappe
|
||||
|
||||
COPY --from=builder /opt/frappe/socketio.js /opt/frappe/node_utils.js apps/frappe/
|
||||
COPY package.json apps/frappe/
|
||||
COPY --chown=frappe:frappe --from=builder /opt/frappe/socketio.js /opt/frappe/node_utils.js apps/frappe/
|
||||
COPY --chown=frappe:frappe package.json apps/frappe/
|
||||
|
||||
RUN cd apps/frappe \
|
||||
&& npm install
|
||||
|
Loading…
Reference in New Issue
Block a user