docker-compose script #569
Unanswered
ImaCrea
asked this question in
How-to guides
Replies: 1 comment 1 reply
-
|
Nice one, thank you for sharing! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sharing is caring.
Here's my yml for anyone wanting to run it in a docker container to work on their local environment.
In short :
docker-compose run node npm installthis will install the dependencies and alldocker-compose upand open your browser on127.0.0.1:1313to see your Doks live :)Changes made are reloaded live on the browser. If no change happen, it's because there's an error while building the site, check your terminal and log ;)
(Of course, you need Docker desktop set up on your machine.)
Beta Was this translation helpful? Give feedback.
All reactions