Open Loschcode opened 3 years ago
I was able to get it working by replacing
COPY --from=build /app/public /pub
with
COPY --from=build /pub /pub
I just dug through the content of the generated onbuild container and saw that there was no /app/public folder but there was a /pub folder with all my gatsby site files in it. Not sure if this is the right answer but it appears to be working for me.
I think the problem comes from here, there is a difference between the image in the docker hub and the Dockerfile on the git repo.
seems like the docker image is 2 years old - are there any updates planned?
First time using
gatsby-docker
it just crashes by following your readme. What am I missing here?