Astro Deployment Fails to import images

I am trying to deploy my astro app, but my deployments fail when importing image assets from /public/assets/images.

02:15:06.334 [vite]: Rollup failed to resolve import /public/assets/images/Tropical-leaves.png from /opt/buildhome/repo/src/components/ImageOverlay.astro.
02:15:06.334 This is most likely unintended because it can break your application at runtime.
02:15:06.334 If you do want to externalize this module explicitly add it to
02:15:06.334 build.rollupOptions.external
02:15:06.983 error [vite]: Rollup failed to resolve import /public/assets/images/Tropical-leaves.png from /opt/buildhome/repo/src/components/ImageOverlay.astro.
02:15:06.983 This is most likely unintended because it can break your application at runtime.
02:15:06.983 If you do want to externalize this module explicitly add it to
02:15:06.983 build.rollupOptions.external
02:15:06.983 Error: [vite]: Rollup failed to resolve import /public/assets/images/Tropical-leaves.png from /opt/buildhome/repo/src/components/ImageOverlay.astro.
02:15:06.984 This is most likely unintended because it can break your application at runtime.
02:15:06.984 If you do want to externalize this module explicitly add it to
02:15:06.984 build.rollupOptions.external
02:15:06.984 at viteWarn (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46597:23)
02:15:06.984 at onRollupWarning (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46621:9)
02:15:06.984 at onwarn (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46368:13)
02:15:06.984 at file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:23639:13
02:15:06.985 at Object.logger [as onLog] (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:25305:9)
02:15:06.985 at ModuleLoader.handleInvalidResolvedId (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:24221:26)
02:15:06.985 at file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:24181:26
02:15:07.017 Failed: build command exited with code: 1
02:15:07.855 Failed: error occurred while running build command

Builds work locally via npm run build, and I can verify that all images show up in the dist/_astro folder.

In order to import images, do I need to do so via relative paths only? Can anyone here at Cloudflare advise as to how to get builds working?

Update: using relative paths also fails:

02:52:15.176 Could not resolve …/…/public/assets/images/Tropical-leaves.png from src/components/ImageOverlay.astro
02:52:15.176 file: /opt/buildhome/repo/src/components/ImageOverlay.astro
02:52:15.846 error Could not resolve …/…/public/assets/images/Tropical-leaves.png from src/components/ImageOverlay.astro
02:52:15.847 File:
02:52:15.847 /opt/buildhome/repo/src/components/ImageOverlay.astro
02:52:15.847 Stacktrace:
02:52:15.847 RollupError: Could not resolve …/…/public/assets/images/Tropical-leaves.png from src/components/ImageOverlay.astro
02:52:15.847 at error (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:2213:30)
02:52:15.847 at ModuleLoader.handleInvalidResolvedId (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:24219:24)
02:52:15.847 at file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:24181:26
02:52:15.848
02:52:15.883 Failed: build command exited with code: 1
02:52:16.640 Failed: error occurred while running build command
02:52:15.883 Failed: build command exited with code: 1