One of the reasons why my docker images are smaller than yours is that I only use the app stage (the test stage doesn't get uploaded). I've added some lines that may be helpful to you - or might not be.
The .github/workflows/docker.yml won't work until <insert repo> is replaced with the actual repo that you want to push your image to.
Dockerfile
I removed the RUN wget * and replaced it with COPY. I also made some minor adjustments throughout.
There are two files in this PR:
One of the reasons why my docker images are smaller than yours is that I only use the app stage (the test stage doesn't get uploaded). I've added some lines that may be helpful to you - or might not be.
The .github/workflows/docker.yml won't work until
<insert repo>
is replaced with the actual repo that you want to push your image to.I removed the
RUN wget *
and replaced it withCOPY
. I also made some minor adjustments throughout.