1
0
Fork 0
mirror of https://github.com/louislam/dockge.git synced 2026-03-03 02:06:55 -05:00

The image built from the provided Dockerfiles won't launch #217

Open
opened 2026-02-20 13:12:17 -05:00 by deekerman · 1 comment
Owner

Originally created by @Pingoo31 on GitHub (Jul 5, 2025).

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

Hello
I built the image with the official Dockerfiles, only changing the image path because I have to use a private registry.
The builds run smoothly, but running the image returns the error: "ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly?"

👟 Reproduction steps

  1. git clone https://github.com/louislam/dockge.git
  2. cd dockge
  3. docker build --no-cache -t dockge:test -f ./docker/Dockerfile .
  4. run builded image via docker compose

👀 Expected behavior

Running Dockge service...

😓 Actual Behavior

❯ docker compose up
[+] Running 1/1
✔ Container dockge-dockge-1 Recreated 0.1s
Attaching to dockge-1
dockge-1 | 2025-07-05T09:08:48Z [SERVER] INFO: Welcome to dockge!
dockge-1 | 2025-07-05T09:08:48Z [SERVER] INFO: NODE_ENV: production
dockge-1 | 2025-07-05T09:08:48Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly?
dockge-1 exited with code 0

Dockge Version

1.5.0

💻 Operating System and Arch

Debian 12 x64

🌐 Browser

Firefox 128

🐋 Docker Version

Docker 28.3.0

🟩 NodeJS Version

No response

📝 Relevant log output

❯ docker build --no-cache -t dockge:test -f ./docker/Dockerfile .
[+] Building 27.4s (17/17) FINISHED                                                                                                                                                               docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                        0.0s
 => => transferring dockerfile: 1.46kB                                                                                                                                                                      0.0s
 => [internal] load metadata for docker.io/louislam/dockge:build-healthcheck                                                                                                                                3.1s
 => [internal] load metadata for docker.io/louislam/dockge:base                                                                                                                                             2.9s
 => [internal] load .dockerignore                                                                                                                                                                           0.0s
 => => transferring context: 213B                                                                                                                                                                           0.0s
 => [build_healthcheck 1/1] FROM docker.io/louislam/dockge:build-healthcheck@sha256:b21c32d15474b00745425ad48961e24d6c460617d7087273a0f541f60f44f95a                                                       17.2s
 => => resolve docker.io/louislam/dockge:build-healthcheck@sha256:b21c32d15474b00745425ad48961e24d6c460617d7087273a0f541f60f44f95a                                                                          0.0s
 => => sha256:b21c32d15474b00745425ad48961e24d6c460617d7087273a0f541f60f44f95a 1.08kB / 1.08kB                                                                                                              0.0s
 => => sha256:6818cc79c2c26e37f25a7051c4ff7cc455eaa8b118e97cccca04ebc9782dcd26 2.21kB / 2.21kB                                                                                                              0.0s
 => => sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47 49.58MB / 49.58MB                                                                                                            3.9s
 => => sha256:9fe33c60426c3af32c9d61f2f9e9aae22d14d73a1387cc4a684bddfd79f43cd3 7.12kB / 7.12kB                                                                                                              0.0s
 => => sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0 24.05MB / 24.05MB                                                                                                            2.0s
 => => sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762 64.13MB / 64.13MB                                                                                                            5.7s
 => => sha256:863cc4143efa80b93b0667c8315f58718c7bcf46d150db44c6569b20c3519924 92.33MB / 92.33MB                                                                                                            8.4s
 => => extracting sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47                                                                                                                   2.0s
 => => sha256:78e974218808bea113ac23368f4e8ca88b68d5ae7778c4a545fbcaa875c61c90 66.97MB / 66.97MB                                                                                                            8.4s
 => => sha256:a85f0221426d60a52d8a81fa8fce9c68859572fd5d8bbeac96c5f014527da9c5 156B / 156B                                                                                                                  5.8s
 => => sha256:2684c610a8f0907b707ff583d9d3c77999ddf107c4f1e02a9e4dba29905b2fa1 99B / 99B                                                                                                                    7.6s
 => => extracting sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0                                                                                                                   0.6s
 => => extracting sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762                                                                                                                   2.5s
 => => sha256:c5ea8fc7e36fd3a4cb22cc8d986f49fa363446b50a786e6937d67cddef0cecf8 958B / 958B                                                                                                                  9.3s
 => => sha256:10bd7f2b9a6d657286be116f330c260ffae9f1800991ccb9b9274bafbab0791f 19.48MB / 19.48MB                                                                                                           10.9s
 => => extracting sha256:863cc4143efa80b93b0667c8315f58718c7bcf46d150db44c6569b20c3519924                                                                                                                   2.8s
 => => extracting sha256:78e974218808bea113ac23368f4e8ca88b68d5ae7778c4a545fbcaa875c61c90                                                                                                                   3.3s
 => => extracting sha256:a85f0221426d60a52d8a81fa8fce9c68859572fd5d8bbeac96c5f014527da9c5                                                                                                                   0.0s
 => => extracting sha256:2684c610a8f0907b707ff583d9d3c77999ddf107c4f1e02a9e4dba29905b2fa1                                                                                                                   0.0s
 => => extracting sha256:c5ea8fc7e36fd3a4cb22cc8d986f49fa363446b50a786e6937d67cddef0cecf8                                                                                                                   0.0s
 => => extracting sha256:10bd7f2b9a6d657286be116f330c260ffae9f1800991ccb9b9274bafbab0791f                                                                                                                   0.6s
 => [internal] load build context                                                                                                                                                                           0.1s
 => => transferring context: 622.32kB                                                                                                                                                                       0.0s
 => [build 1/5] FROM docker.io/louislam/dockge:base@sha256:0e56b2f80d630e364dea0b48cc6077cd4713d85b9d390067b7bd07ea2bfcaff5                                                                                 0.3s
 => => resolve docker.io/louislam/dockge:base@sha256:0e56b2f80d630e364dea0b48cc6077cd4713d85b9d390067b7bd07ea2bfcaff5                                                                                       0.0s
 => => sha256:0e56b2f80d630e364dea0b48cc6077cd4713d85b9d390067b7bd07ea2bfcaff5 2.38kB / 2.38kB                                                                                                              0.0s
 => => sha256:67364ec781f5c3fa4cbe65fae02db1d588e5d0e626423db11aba526eb418db4c 1.44kB / 1.44kB                                                                                                              0.0s 
 => => sha256:aac257c31daebcdb27b19440fa84c6b6ca03fddb3bd75b430d38f2f3ddb40109 7.64kB / 7.64kB                                                                                                              0.0s 
 => [build 2/5] WORKDIR /app                                                                                                                                                                                0.1s 
 => [build 3/5] COPY --chown=node:node  ./package.json ./package.json                                                                                                                                       0.1s 
 => [build 4/5] COPY --chown=node:node  ./package-lock.json ./package-lock.json                                                                                                                             0.1s 
 => [build 5/5] RUN npm ci --omit=dev                                                                                                                                                                       8.7s 
 => [release 3/6] COPY --chown=node:node --from=build_healthcheck /app/extra/healthcheck /app/extra/healthcheck                                                                                             0.1s
 => [release 4/6] COPY --from=build /app/node_modules /app/node_modules                                                                                                                                     1.8s
 => [release 5/6] COPY --chown=node:node  . .                                                                                                                                                               0.1s
 => [release 6/6] RUN mkdir ./data                                                                                                                                                                          0.5s
 => [nightly 1/1] RUN npm run mark-as-nightly                                                                                                                                                               1.5s
 => exporting to image                                                                                                                                                                                      1.5s 
 => => exporting layers                                                                                                                                                                                     1.5s
 => => writing image sha256:f3c7ce145cf554917fdc6796dd2a763247117f84202f325a5f258413e8532f83                                                                                                                0.0s
 => => naming to dockge:test                                                                                                                                  0.0s
❯ cd ..
❯ docker compose up
[+] Running 2/2
 ✔ Network dockge_default     Created                                                                                                                                                                       0.2s 
 ✔ Container dockge-dockge-1  Created                                                                                                                                                                       0.1s 
Attaching to dockge-1
dockge-1  | 2025-07-05T09:08:48Z [SERVER] INFO: Welcome to dockge!
dockge-1  | 2025-07-05T09:08:48Z [SERVER] INFO: NODE_ENV: production
dockge-1  | 2025-07-05T09:08:48Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly?
dockge-1 exited with code 0
dockge-1  | 2025-07-05T09:08:50Z [SERVER] INFO: Welcome to dockge!
dockge-1  | 2025-07-05T09:08:50Z [SERVER] INFO: NODE_ENV: production
dockge-1  | 2025-07-05T09:08:50Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly?
dockge-1 exited with code 0
dockge-1  | 2025-07-05T09:08:52Z [SERVER] INFO: Welcome to dockge!
dockge-1  | 2025-07-05T09:08:52Z [SERVER] INFO: NODE_ENV: production
dockge-1  | 2025-07-05T09:08:52Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly?
dockge-1 exited with code 0
Gracefully stopping... (press Ctrl+C again to force)
Originally created by @Pingoo31 on GitHub (Jul 5, 2025). ### ⚠️ Please verify that this bug has NOT been reported before. - [x] I checked and didn't find similar issue ### 🛡️ Security Policy - [x] I agree to have read this project [Security Policy](https://github.com/louislam/dockge/security/policy) ### Description Hello I built the image with the official Dockerfiles, only changing the image path because I have to use a private registry. The builds run smoothly, but running the image returns the error: "ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly?" ### 👟 Reproduction steps 1. git clone https://github.com/louislam/dockge.git 2. cd dockge 3. docker build --no-cache -t dockge:test -f ./docker/Dockerfile . 4. run builded image via docker compose ### 👀 Expected behavior Running Dockge service... ### 😓 Actual Behavior ❯ docker compose up [+] Running 1/1 ✔ Container dockge-dockge-1 Recreated 0.1s Attaching to dockge-1 dockge-1 | 2025-07-05T09:08:48Z [SERVER] INFO: Welcome to dockge! dockge-1 | 2025-07-05T09:08:48Z [SERVER] INFO: NODE_ENV: production dockge-1 | 2025-07-05T09:08:48Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly? dockge-1 exited with code 0 ### Dockge Version 1.5.0 ### 💻 Operating System and Arch Debian 12 x64 ### 🌐 Browser Firefox 128 ### 🐋 Docker Version Docker 28.3.0 ### 🟩 NodeJS Version _No response_ ### 📝 Relevant log output ```shell ❯ docker build --no-cache -t dockge:test -f ./docker/Dockerfile . [+] Building 27.4s (17/17) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.46kB 0.0s => [internal] load metadata for docker.io/louislam/dockge:build-healthcheck 3.1s => [internal] load metadata for docker.io/louislam/dockge:base 2.9s => [internal] load .dockerignore 0.0s => => transferring context: 213B 0.0s => [build_healthcheck 1/1] FROM docker.io/louislam/dockge:build-healthcheck@sha256:b21c32d15474b00745425ad48961e24d6c460617d7087273a0f541f60f44f95a 17.2s => => resolve docker.io/louislam/dockge:build-healthcheck@sha256:b21c32d15474b00745425ad48961e24d6c460617d7087273a0f541f60f44f95a 0.0s => => sha256:b21c32d15474b00745425ad48961e24d6c460617d7087273a0f541f60f44f95a 1.08kB / 1.08kB 0.0s => => sha256:6818cc79c2c26e37f25a7051c4ff7cc455eaa8b118e97cccca04ebc9782dcd26 2.21kB / 2.21kB 0.0s => => sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47 49.58MB / 49.58MB 3.9s => => sha256:9fe33c60426c3af32c9d61f2f9e9aae22d14d73a1387cc4a684bddfd79f43cd3 7.12kB / 7.12kB 0.0s => => sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0 24.05MB / 24.05MB 2.0s => => sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762 64.13MB / 64.13MB 5.7s => => sha256:863cc4143efa80b93b0667c8315f58718c7bcf46d150db44c6569b20c3519924 92.33MB / 92.33MB 8.4s => => extracting sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47 2.0s => => sha256:78e974218808bea113ac23368f4e8ca88b68d5ae7778c4a545fbcaa875c61c90 66.97MB / 66.97MB 8.4s => => sha256:a85f0221426d60a52d8a81fa8fce9c68859572fd5d8bbeac96c5f014527da9c5 156B / 156B 5.8s => => sha256:2684c610a8f0907b707ff583d9d3c77999ddf107c4f1e02a9e4dba29905b2fa1 99B / 99B 7.6s => => extracting sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0 0.6s => => extracting sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762 2.5s => => sha256:c5ea8fc7e36fd3a4cb22cc8d986f49fa363446b50a786e6937d67cddef0cecf8 958B / 958B 9.3s => => sha256:10bd7f2b9a6d657286be116f330c260ffae9f1800991ccb9b9274bafbab0791f 19.48MB / 19.48MB 10.9s => => extracting sha256:863cc4143efa80b93b0667c8315f58718c7bcf46d150db44c6569b20c3519924 2.8s => => extracting sha256:78e974218808bea113ac23368f4e8ca88b68d5ae7778c4a545fbcaa875c61c90 3.3s => => extracting sha256:a85f0221426d60a52d8a81fa8fce9c68859572fd5d8bbeac96c5f014527da9c5 0.0s => => extracting sha256:2684c610a8f0907b707ff583d9d3c77999ddf107c4f1e02a9e4dba29905b2fa1 0.0s => => extracting sha256:c5ea8fc7e36fd3a4cb22cc8d986f49fa363446b50a786e6937d67cddef0cecf8 0.0s => => extracting sha256:10bd7f2b9a6d657286be116f330c260ffae9f1800991ccb9b9274bafbab0791f 0.6s => [internal] load build context 0.1s => => transferring context: 622.32kB 0.0s => [build 1/5] FROM docker.io/louislam/dockge:base@sha256:0e56b2f80d630e364dea0b48cc6077cd4713d85b9d390067b7bd07ea2bfcaff5 0.3s => => resolve docker.io/louislam/dockge:base@sha256:0e56b2f80d630e364dea0b48cc6077cd4713d85b9d390067b7bd07ea2bfcaff5 0.0s => => sha256:0e56b2f80d630e364dea0b48cc6077cd4713d85b9d390067b7bd07ea2bfcaff5 2.38kB / 2.38kB 0.0s => => sha256:67364ec781f5c3fa4cbe65fae02db1d588e5d0e626423db11aba526eb418db4c 1.44kB / 1.44kB 0.0s => => sha256:aac257c31daebcdb27b19440fa84c6b6ca03fddb3bd75b430d38f2f3ddb40109 7.64kB / 7.64kB 0.0s => [build 2/5] WORKDIR /app 0.1s => [build 3/5] COPY --chown=node:node ./package.json ./package.json 0.1s => [build 4/5] COPY --chown=node:node ./package-lock.json ./package-lock.json 0.1s => [build 5/5] RUN npm ci --omit=dev 8.7s => [release 3/6] COPY --chown=node:node --from=build_healthcheck /app/extra/healthcheck /app/extra/healthcheck 0.1s => [release 4/6] COPY --from=build /app/node_modules /app/node_modules 1.8s => [release 5/6] COPY --chown=node:node . . 0.1s => [release 6/6] RUN mkdir ./data 0.5s => [nightly 1/1] RUN npm run mark-as-nightly 1.5s => exporting to image 1.5s => => exporting layers 1.5s => => writing image sha256:f3c7ce145cf554917fdc6796dd2a763247117f84202f325a5f258413e8532f83 0.0s => => naming to dockge:test 0.0s ❯ cd .. ❯ docker compose up [+] Running 2/2 ✔ Network dockge_default Created 0.2s ✔ Container dockge-dockge-1 Created 0.1s Attaching to dockge-1 dockge-1 | 2025-07-05T09:08:48Z [SERVER] INFO: Welcome to dockge! dockge-1 | 2025-07-05T09:08:48Z [SERVER] INFO: NODE_ENV: production dockge-1 | 2025-07-05T09:08:48Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly? dockge-1 exited with code 0 dockge-1 | 2025-07-05T09:08:50Z [SERVER] INFO: Welcome to dockge! dockge-1 | 2025-07-05T09:08:50Z [SERVER] INFO: NODE_ENV: production dockge-1 | 2025-07-05T09:08:50Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly? dockge-1 exited with code 0 dockge-1 | 2025-07-05T09:08:52Z [SERVER] INFO: Welcome to dockge! dockge-1 | 2025-07-05T09:08:52Z [SERVER] INFO: NODE_ENV: production dockge-1 | 2025-07-05T09:08:52Z [SERVER] ERROR: Error: Cannot find 'frontend-dist/index.html', did you install correctly? dockge-1 exited with code 0 Gracefully stopping... (press Ctrl+C again to force) ```
Author
Owner

@cmcooper1980 commented on GitHub (Nov 6, 2025):

PR #634 addresses this. Hasn't been merged to official yet but I believe has been with many forks, including my own.

@cmcooper1980 commented on GitHub (Nov 6, 2025): PR #634 addresses this. Hasn't been merged to official yet but I believe has been with many forks, including my own.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dockge-louislam#217
No description provided.