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

Commit cb80f88

Browse files
committed
Update docker paths to use root home directory
1 parent ddcef1f commit cb80f88

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ RUN ln -s /app/dist/mgc /usr/bin/mgc
3939

4040
COPY ./docker/* ./dist/
4141

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

45-
VOLUME [ "/app/.mgc", "/app/.local/share/.IdentityService", "/app/.local/share/keyrings" ]
45+
VOLUME [ "/root/.mgc", "/root/.local/share/.IdentityService", "/root/.local/share/keyrings" ]
4646

4747
ENTRYPOINT ["./dist/init.sh"]
4848

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ services:
99
environment:
1010
- KEYRING_PASSWORD=changeit
1111
volumes:
12-
- ./tmp/.mgc:/app/.mgc
13-
- ./tmp/.IdentityService:/app/.local/share/.IdentityService
14-
- ./tmp/keyrings:/app/.local/share/keyrings
12+
- ./tmp/.mgc:/root/.mgc
13+
- ./tmp/.IdentityService:/root/.local/share/.IdentityService
14+
- ./tmp/keyrings:/root/.local/share/keyrings

0 commit comments

Comments
 (0)