For the Docker container.

This commit is contained in:
Sébastien André
2021-02-03 10:57:45 +01:00
parent 671f02f440
commit 54781e2444
2 changed files with 4 additions and 1 deletions

View File

@@ -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"]

2
doc.txt Normal file
View File

@@ -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