dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Can't build dawarich:prod

Open hopeseekr opened this issue 11 months ago • 1 comments

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

Version Latest master (4de899ecb)

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.

hopeseekr avatar Feb 11 '25 04:02 hopeseekr

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

Vertux avatar Feb 13 '25 17:02 Vertux