Closed specked closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Correct. We remove all build dependencies at the end of the build process to reduce the image size to a manageable point.
If you want to recompile parts of the install you'll need to reinstall those dependencies. The full set are here https://github.com/linuxserver/docker-mastodon/blob/main/Dockerfile#L27-L36, though you might not need all of them depending on what components you're building.
Correct. We remove all build dependencies at the end of the build process to reduce the image size to a manageable point.
If you want to recompile parts of the install you'll need to reinstall those dependencies. The full set are here https://github.com/linuxserver/docker-mastodon/blob/main/Dockerfile#L27-L36, though you might not need all of them depending on what components you're building.
Could you point out to me how I can install webpack? that's the item I'm stuck on. Thanks
Webpack is a node package, so you'd probably have to run through the bundle install here: https://github.com/linuxserver/docker-mastodon/blob/main/Dockerfile#L55-L59C3 as just installing webpack on its own is likely to lead to you then missing other deps.
You might be better off just using the https://github.com/linuxserver/docker-mastodon/tree/glitch branch, which already has a larger post limit, amongst other tweaks.
You might be better off just using the https://github.com/linuxserver/docker-mastodon/tree/glitch branch, which already has a larger post limit, amongst other tweaks.
Thank you for taking the time to help me.
Is there an existing issue for this?
Current Behavior
When attempting to increase max toot length, I receive an error that yarn is not installed when I try to recompile:
RAILS_ENV=production bundle exec rails assets:precompile
I get this output:
Expected Behavior
it should recompile sucessfully
Steps To Reproduce
RAILS_ENV=production bundle exec rails assets:precompile
Environment
CPU architecture
x86-64
Docker creation
Container logs