Closed joker7blue closed 6 months ago
Hi @joker7blue , it doesn't copy it into the Dockerfile, it mounts the files as volume instead. Hence, you can sync the live changes on time.
docker run -itp 3000:3000 --name=docsify -v $(pwd):/docs docsify/demo
If you wanna deploy your site via docker, either you put all your things inside the Docker image or mount it on runtime, thats both okay.
oh ok, Thanks for the explanation @Koooooo-7 👍🏽
Bug Report
missing
COPY . .
in docker fileSteps to reproduce
Current behaviour
The files are not copied to the docker image when building docker file, since we missed to
COPY . .
Expected behaviour
The docsify project should run as expected after building from docker
Other relevant information
[ ] Bug still occurs when all/other plugins are disabled?
Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue):
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)