Skip to content

Web and frontend docker environments not working #2161

@aftermath2

Description

@aftermath2

Describe the bug

The web and frontend docker compose environments get stuck in the initial loading page because they can't find the frontend javascript files.

web-dev-frontend  | webpack 5.100.2 compiled with 2 warnings in 71535 ms
web-dev-frontend exited with code 0
web-dev-nginx     | 172.18.0.1 - - [11/Aug/2025:10:59:06 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" "-"
web-dev-nginx     | 172.18.0.1 - - [11/Aug/2025:10:59:06 +0000] "GET /static/frontend/main.v0.8.1.250914b65da7e6a60e99.js HTTP/1.1" 404 153 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" "-"
web-dev-nginx     | 2025/08/11 10:59:06 [error] 13#13: *4 open() "/usr/src/web/static/frontend/main.v0.8.1.250914b65da7e6a60e99.js" failed (2: No such file or directory), client: 172.18.0.1, server: robosats_web_client, request: "GET /static/frontend/main.v0.8.1.250914b65da7e6a60e99.js HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/"
web-dev-nginx     | 2025/08/11 10:59:06 [error] 13#13: *4 open() "/usr/src/web/static/frontend/main.v0.8.1.250914b65da7e6a60e99.js" failed (2: No such file or directory), client: 172.18.0.1, server: robosats_web_client, request: "GET /static/frontend/main.v0.8.1.250914b65da7e6a60e99.js HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/"
web-dev-nginx     | 172.18.0.1 - - [11/Aug/2025:10:59:06 +0000] "GET /static/frontend/main.v0.8.1.250914b65da7e6a60e99.js HTTP/1.1" 404 153 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" "-"

To Reproduce
Steps to reproduce the behavior:

  1. Go to the web folder
  2. Execute docker compose up
  3. Visit http://localhost:8080 on the browser
  4. Notice the UI stuck in the loading page forever

Expected behavior

Visiting the local UI works as expected, loading all the content and orders.

Desktop (please complete the following information):

  • OS: Debian 12
  • Browser firefox
  • Version 128.12.0esr

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions