Django application (runs in docker container) does not load static files

I’m running a django application in a docker container but the static files are not loading. I run the app through the django server itself, with DEBUG activated, the static files folder are in the root of the project, and “django.contrib.staticfiles” is present in my settings, even so, the css and javascript are not found .

Detail, this application works perfectly on my local machine, but when I run it through the Docker container, the static files do not work. Below are details of my project:

Logs docker container

docker compose

    build: .
    restart: always
    command: python runserver
      - "9000:9000"
      - ./app:/code 


FROM python:3.8
COPY requirements.txt /code
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app /code

I assigned permission 755 in the static files directory, I changed the ports in docker compose, updated the python/django version and nothing solved it…

Can anyone explain to me what could be going on?

command: python runserver --insecure
adding this line should work