You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were blocked to update vike from version 0.4.176 onwards because if we run our app from within a Docker image, it would display "An error occurred."
The logs in the docker container would show:
presenter-1 | Error: [@brillout/[email protected]][Wrong Usage] Cannot find server entry. (Re-)build your app and try again. If you still get this error, then you may need to manually import the server entry, see https://github.com/brillout/vite-plugin-server-entry#manual-import
presenter-1 | at importServerEntry (/app/node_modules/@brillout/vite-plugin-server-entry/dist/runtime/importServerEntry.js:39:29)
presenter-1 | at async loadImportBuild (/app/node_modules/vike/dist/cjs/node/runtime/globalContext/loadImportBuild.js:15:9)
We figured out that we have to manually copy a file from node_modules in a multi-stage docker build:
Description
We were blocked to update vike from version
0.4.176
onwards because if we run our app from within a Docker image, it would display "An error occurred."The logs in the docker container would show:
We figured out that we have to manually copy a file from
node_modules
in a multi-stage docker build:Here's our PR changing the relevant
Dockerfile
: dreammall-earth/dreammall.earth#2018What is the suggested workflow with
vike
running inside a docker image?The text was updated successfully, but these errors were encountered: