Unverified Commit 43dc9cee authored by hhzhang16's avatar hhzhang16 Committed by GitHub
Browse files

fix: give the user ownership permissions of /opt/dynamo/venv (#767)

parent 420b7a82
......@@ -276,6 +276,7 @@ RUN apt-get update && apt-get install -y sudo gnupg2 gnupg1 \
# This is a slow operation (~40s on my cpu)
# Much better than chown -R $USERNAME:$USERNAME /opt/dynamo/venv (~10min on my cpu)
COPY --from=base --chown=$USER_UID:$USER_GID /opt/dynamo/venv/ /opt/dynamo/venv/
RUN chown $USERNAME:$USERNAME /opt/dynamo/venv
COPY --from=base --chown=$USERNAME:$USERNAME /usr/local/bin /usr/local/bin
USER $USERNAME
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment