Open jpriebe opened 2 months ago
The more I look around, the more confused I am. The Dockerfile puts configuration.local.json
into /app/api
, but the docker-compose.yaml
has it mounted as a volume under /app
.
And it may not have anything to do with this configuration file being read-only. I wonder, is the issue just that the container's entire filesystem is read-only?
I don't get the chown and chmod calls -- generally, you don't want to modify files that are part of the container image, do you?
Well, I removed the ":ro" from the json volume, and it looks like it started up.
Container won't start - watching the events, I can see the container dies right away, and the only thing it has in the logs is this:
My
docker-compose
is essentially the same as the example in the documentation.I don't understand why the code is calling
chown
on/app
when the volume mapping specifically puts a read-only file into the/app
directory.But I'm pretty sure that
chown
is failing, causing the entrypoint script to bail out and the container won't start.Using Fedora Server 40.