File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
pages/custom-query-modules Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ inside a Docker container, run the following command in the terminal:
5555
5656
5757```
58- docker exec -i -u root <container_id> bash -c "apt install -y python3-pip &&
58+ docker exec -i -u memgraph <container_id> bash -c "apt install -y python3-pip &&
5959pip install pandas"
6060```
6161
@@ -69,16 +69,16 @@ commands in the Dockerfile:
6969```
7070FROM memgraph/memgraph:latest
7171
72- USER root
72+ USER memgraph
7373
7474RUN apt install -y python3-pip
7575RUN pip install pandas
7676
77- USER memgraph
7877```
7978
80- It is important that you install Python library as a ` root ` user, rather than
81- the default ` memgraph ` user.
79+ Python libraries should now be installed as the ` memgraph ` user, which is the
80+ default user inside the Memgraph container. You no longer need to switch to the
81+ ` root ` user to perform installations.
8282
8383## Example
8484
You can’t perform that action at this time.
0 commit comments