Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 90cc8c6

Browse files
committed
Add volumes for persistent tokens
1 parent ecf33c2 commit 90cc8c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ USER mgc
4343

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

46-
RUN chmod +x /app/dist/init.sh
46+
RUN mkdir -p /app/.mgc /app/.local/share/.IdentityService /app/.local/share/keyrings &&\
47+
chmod +x /app/dist/init.sh
48+
49+
VOLUME [ "/app/.mgc", ".local/share/.IdentityService", "/app/.local/share/keyrings" ]
4750

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

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

0 commit comments

Comments
 (0)