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

services:
  app:
    build: .
    restart: always
    command: python manage.py runserver 0.0.0.0:9000
    ports:
      - "9000:9000"
    volumes:
      - ./app:/code 

dockerfile

FROM python:3.8
WORKDIR /code
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 manage.py runserver 0.0.0.0:9000 --insecure
adding this line should work