I am a beginner to Docker. I have written a small Dockerfile to start with. I am not able to clone my repo using following Dockerfile.
FROM mattes/hello-world-nginx
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/umairnow/LocalizableGenerator.git
VOLUME LocalizableGenerator
I am not sure if I am doing it right or do I have to use WORKDIR. I have also tried following but it doesn't clone the repo.
VOLUME ["/data"]
WORKDIR /LocalizableGenerator
Can anyone help please?
LocalizableGeneratoris emptyDockerfile