Last active
March 4, 2023 15:29
-
-
Save pablocattaneo/6aa48142d9ad0ce37a37281f4323a9f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source https://stackoverflow.com/questions/52961824/run-gatsby-with-docker-compose | |
# docker run -p 8000:80 -v $(pwd):/app -w [WORKDIR PATH] [IMAGE ID] yarn develop-docker | |
docker run -p 8000:80 -v $(pwd):/app -w /app fe9a4b9e181a yarn develop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"develop-docker": "gatsby develop -H 0.0.0.0", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment