Can't build dawarich:prod
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.
- The README and documentation is out of date. I had to
cp docker/Dockerfile.prod Dockerfileand thendocker build . -t dawarich:prod. - To reiterate more plainly,
docker compose upno 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.
Did you see the warning at the bottom of this page ?