noel
Build failing
Hey gang, can't wrap my head around this one, using vanilla Parcel to build but it's failing:
And error...
````
...
#12 0.793 npm WARN config production Use
--omit=dev instead.
#12 0.861
#12 0.861 > [email protected] build
#12 0.861 > parcel build src/index.html
#12 0.861
#12 1.480 🚨 Build failed.
#12 1.482
#12 1.484 unknown: Entry /app/src/index.html does not exist
#12 ERROR: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
-----
> [stage-0 8/10] RUN --mount=type=cache,id=s/bbb93ea0-42f4-467f-bc20-d35e20d192ff-node_modules/cache,target=/app/node_modules/.cache npm run build:
0.793 npm WARN config production Use
--omit=dev` instead.
0.861
0.861 > [email protected] build
0.861 > parcel build src/index.html
0.861
1.480 🚨 Build failed.
1.482
1.484 unknown: Entry /app/src/index.html does not exist
-----
Dockerfile:24
-------------------
22 | # build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=s/bbb93ea0-42f4-467f-bc20-d35e20d192ff-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
````
Thank you 🙏3 replies