diff --git a/Dockerfile b/Dockerfile index 28312be..2157237 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ RUN update-rc.d nginx defaults COPY nginx.conf /etc/nginx/sites-available/default -#VOLUME /app/API/Data +VOLUME /app/API/Data +VOLUME /app/Front/config CMD ["/start-docker.sh"] \ No newline at end of file diff --git a/doc.txt b/doc.txt new file mode 100644 index 0000000..fcc978e --- /dev/null +++ b/doc.txt @@ -0,0 +1,2 @@ +To build an image "toto" with the version "0.1": docker build . -t toto:0.1 +To run ab image to container with volume : docker run -v C:\toto\logs\config:/app/Front/config -v C:\toto\logs\db:/app/API/Data -p 5080:80/tcp --name Test -it toto:0.1 \ No newline at end of file