Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Server bundle for abs-production and docker  #1450

@boydc2014

Description

@boydc2014

Version

master

Describe the bug

After we make the server package depends on lib/shared and lib/indexers.
The previous approach to make a clean production build not working for server anymore.

related to #1440

Previously, we do
1 yarn install at top-level, all dependencies will be hoisted in top-level
2 yarn build prod to bundle 'client' and we put client into server/public
3 we copy server folder out (drop the build environment of client), run yarn install in server to resolve dependencies

Now #3 won't work, because server's dependencies not fully copied out.

To Reproduce

$docker-compose build

Expected behavior

bundle server successfully

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Labels

R7Release 7 - December 10th, 2019Type: BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions