Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build dawarich:prod #852

Open
hopeseekr opened this issue Feb 11, 2025 · 1 comment
Open

Can't build dawarich:prod #852

hopeseekr opened this issue Feb 11, 2025 · 1 comment

Comments

@hopeseekr
Copy link

hopeseekr commented Feb 11, 2025

OS & Hardware
Arch Linux, Baremetal Dual Xeon E-2176G, 128 GB ECC RAM, 500 GB NVMe.m2

Version
Latest master (4de899e)

Describe the bug
Two issues:

Issue 1: Outdated docs.

  1. The README and documentation is out of date. I had to cp docker/Dockerfile.prod Dockerfile and then docker build . -t dawarich:prod.
  2. To reiterate more plainly, docker compose up no longer works: "Error response from daemon: pull access denied for dawarich, repository does not exist"

Issue 2: Docker build doesn't actually work.

=> [ 7/12] COPY ../. ./ 1.0s
=> ERROR [ 8/12] RUN SECRET_KEY_BASE_DUMMY=1 bundle exec rake assets:precompile && rm -rf node_modules tmp/cache 3.9s


[ 8/12] RUN SECRET_KEY_BASE_DUMMY=1 bundle exec rake assets:precompile && rm -rf node_modules tmp/cache:
3.800
3.800 Rebuilding...
3.821 Error: Cannot find module 'daisyui'

To Reproduce
(Also affects Dockerfile.dev, too)

git clone <repo>
cd dawarich/docker
ln -s Dockerfile.prod Dockerfile
cd ..
docker build . --tag dawarich:prod

Expected behavior
I expect it to work with docker compose up.

Workaround

Replace every instance of image: dawarich:prod to image: freikin/dawarich:0.24.0, or whatever the latest version is.

@Vertux
Copy link

Vertux commented Feb 13, 2025

Did you see the warning at the bottom of this page ?

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

No branches or pull requests

2 participants