My container is near of full

I created a discord bot…
But my container is 95% full.

I tried to reimport my project from github but i can’t.

Which files or directory i can delete without risk ?

The bot growthing is a bug ?

Why a simple bot can become so big ?

If i delete all except .env i can reimport my project ?

Can you give me answer to my question ?

Hi there,

Can you tell me the name of your Glitch project? Thanks!

undead-murderer-discord-bot

I can delete node cache ? Because i created my project with npm and now is pnpm ?

Hey there,

I’ve given your project additional disk space for 24 hours.This should give you the room needed to:

  1. Add files that are taking up too much space to .gitignore
  2. Move database files that get rewritten often to .data

Once you have done this, run the following commands in the project console:

git prune and hit enter
git gc and hit enter.
refresh and hit enter

This should free up the space you need. If you have any questions, let us know!

Can you give me all file i can do it ?

that i don’t understand is this
app@undead-murderer-discord-bot:/ 07:51
$ ls -lah
total 80K
drwxr-xr-x 1 root root 4.0K Feb 19 18:23 .
drwxr-xr-x 1 root root 4.0K Feb 19 18:23 …
drwxr-xr-x 9 app app 4.0K Feb 20 07:48 app
drwxr-xr-x 1 root root 4.0K Jun 28 2019 bin
drwxr-xr-x 2 root root 4.0K Apr 12 2016 boot
drwxr-xr-x 14 nobody nogroup 5.2K Feb 20 00:46 dev
-rwxr-xr-x 1 root root 0 Feb 19 18:23 .dockerenv
drwxr-xr-x 1 root root 4.0K Feb 19 18:23 etc
drwxr-xr-x 2 root root 4.0K Apr 12 2016 home
drwxr-xr-x 1 root root 4.0K Jun 28 2019 lib
drwxr-xr-x 2 root root 4.0K Jun 10 2019 lib64
drwxr-xr-x 2 root root 4.0K Jun 10 2019 media
drwxr-xr-x 1 root root 4.0K Feb 19 23:10 mnt
drwxr-xr-x 1 root root 4.0K Feb 19 18:23 opt
dr-xr-xr-x 2603 nobody nogroup 0 Feb 19 18:23 proc
drwxr-xr-x 1 root root 4.0K Feb 19 13:56 rbd
drwx------ 1 root root 4.0K Feb 19 23:10 root
drwxr-xr-x 1 root root 4.0K Feb 19 13:56 run
drwxr-xr-x 1 root root 4.0K Jun 28 2019 sbin
drwxr-xr-x 2 root root 4.0K Jun 10 2019 srv
dr-xr-xr-x 13 nobody nogroup 0 Feb 20 07:51 sys
drwxrwxrwx 8 app app 4.0K Feb 20 07:48 tmp
drwxr-xr-x 1 root root 4.0K Jun 28 2019 usr
drwxr-xr-x 1 root root 4.0K Jun 28 2019 var

and the disk usage said 196MB ? Why ?

I delete my project i reimported it from github and i updated it and now it use 2MB of disk usage.