Koviniho
need help with Dokploy.
That works, thank you. Now there's just one question regarding the database (MySQL) and React.js projects.
In the React projects, I'm getting this error message:
bash
[33m1 warning found (use docker --debug to expand):
[0m - UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
Dockerfile:24
--------------------
22 | # build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=431FIYdSfs-node_modules/cache,target=/app/node_modules/.cache npm run build
25 |
26 |
-------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1 Error: Docker build failed ❌ Nixpacks build failed And for the database, I can access it through the Server IP.
26 |
-------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1 Error: Docker build failed ❌ Nixpacks build failed And for the database, I can access it through the Server IP.
25 replies
need help with Dokploy.
I bought a VPS through Hostinger and decided to use Dokploy.
I entered the A record for the domain and added my GitHub.
I created the SSH key in the terminal and added it to Dokploy.
I created and installed a GitHub app.
Then, I selected the GitHub project, whether HTML, React, or a 1-to-1 copy of GitHub examples.
So far, nothing has worked.
25 replies