Skip to content

Commit

Permalink
Add volumes for persistent tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkiage committed Mar 24, 2022
1 parent ecf33c2 commit 90cc8c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ USER mgc

COPY --chown=mgc:mgc ./docker/* ./dist/

RUN chmod +x /app/dist/init.sh
RUN mkdir -p /app/.mgc /app/.local/share/.IdentityService /app/.local/share/keyrings &&\
chmod +x /app/dist/init.sh

VOLUME [ "/app/.mgc", ".local/share/.IdentityService", "/app/.local/share/keyrings" ]

# CMD ["bash", "-l"]
ENTRYPOINT ["./dist/init.sh"]

LABEL description="# Welcome to the Microsoft Graph CLI \
Expand Down

0 comments on commit 90cc8c6

Please sign in to comment.