Closed gmalanchuk closed 2 months ago
This looks like a potential network error. Double-check that your connection is OK and that no firewall (or similar network tool) block the connection.
Other applications build fine in docker, it is the dunglas/frankenphp container that causes the problem. I don't know how to explain it🤷
Can you try to run docker compose build --progress plain --no-cache
and copy the full output please?
I don't think this is a FrankenPHP issue. The problem here comes from copying the project folder into the app COPY . /app
and at the same time mounting the project folder into the same directory volumes: - .:/app
. This can lead to weird behaviour.
The docker image should build fine if the COPY . /app
line is removed:
Closing for now then.
Why is this happening? I'm doing everything exactly according to the documentation. Maybe the problem is that I'm using wsl?
error
docker-compose
Dockerfile