less space i think

This commit is contained in:
Shihaam Abdul Rahman 2023-10-03 21:38:07 +05:00
parent ca1675c6cd
commit 6b81077cfe
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 7 additions and 4 deletions

View File

@ -4,8 +4,8 @@ WORKDIR /root
COPY 64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst .
RUN pacman -Sy
RUN pacman -U 64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst --noconfirm
RUN pacman -Sy \
&& pacman -U 64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst --noconfirm \
&& rm -rfv 64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/*
CMD telegram-desktop

View File

@ -4,10 +4,13 @@ services:
build: .
hostname: 64gram
image: git.shihaam.dev/dockerfiles/64gram
user: "1000:1000"
environment:
- DISPLAY
volumes:
- $HOME/.local/share/64Gram:/root/.local/share/64Gram
- $HOME/.local/share/fonts:/root/.local/share/fonts
- $HOME/Downloads:/root/Downloads
- $HOME/Pictures:/root/Pictures
- $HOME/Documents:/root/Documents
- /usr/share/icons:/usr/share/icons
- /tmp/.X11-unix:/tmp/.X11-unix