fix: Update Dockerfiles to copy entire app directory for package dependencies
Changed Dockerfiles for bridge-frontend, link, and leafcutter to copy the entire installer directory instead of selective copying. This ensures all workspace packages (including @link-stack/logger) are available at runtime, fixing the 'Cannot find package' error in Docker containers.
This commit is contained in:
parent
57ddcd64ea
commit
7745071e63
3 changed files with 3 additions and 11 deletions
|
|
@ -38,9 +38,7 @@ RUN chown -R node ${APP_DIR}/
|
|||
|
||||
USER node
|
||||
WORKDIR ${APP_DIR}
|
||||
COPY --from=installer ${APP_DIR}/node_modules/ ./node_modules/
|
||||
COPY --from=installer ${APP_DIR}/apps/leafcutter/ ./apps/leafcutter/
|
||||
COPY --from=installer ${APP_DIR}/package.json ./package.json
|
||||
COPY --from=installer ${APP_DIR} ./
|
||||
USER root
|
||||
WORKDIR ${APP_DIR}/apps/leafcutter/
|
||||
RUN chmod +x docker-entrypoint.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue