Skip to content

Ap 542 yarn#12

Merged
davezuckerman merged 1 commit intomainfrom
AP-542-yarn
Feb 3, 2026
Merged

Ap 542 yarn#12
davezuckerman merged 1 commit intomainfrom
AP-542-yarn

Conversation

@davezuckerman
Copy link
Contributor

installs yarn outside of /opt/app

Copy link
Member

@awilfox awilfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to see this being moved out of the app directory! A few improvements can be made.

docker-compose: Don't bind /opt/app

This will prevent 'hot reload' from working inside Docker (the image
will need to be rebuilt for every change), but it does ensure webpack
works correctly.  Otherwise, the binstub is overridden by our own bin/
(and can't be put back because node_modules/ isn't available either).

changing where yarn is built

changes for yarn path

Fixing yarn issue in development

deals with gpg expired key

running yarn build from /usr/local/yarn

copying over yarn files for prod from dev

added destination directory for copy of yarn dir from dev to prod

moving back to /opt/app in prod to precompile assets

removed custom gpg key from Dockerfile

putting gpg key set back in to Dockerfile

gpg key was renewed so using the original access method

removed old call to fetch yarn

update env for yarn path, using --cwd for yarn install instead of switching WORKDIR
@davezuckerman davezuckerman merged commit ee2c1de into main Feb 3, 2026
7 checks passed
@davezuckerman davezuckerman deleted the AP-542-yarn branch February 3, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants