Update Contents

* Fix offlineread docker image

* Add warning on install

* Update install follow official
This commit is contained in:
康怀帅
2018-03-19 16:04:23 +08:00
committed by GitHub
parent c706769a44
commit 6c92d41c0f
5 changed files with 13 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ script:
- docker run -it --rm -v $PWD:/srv/gitbook-src yeasy/docker_practice build
after_success:
- sudo chmod -R 777 _book
- echo "FROM nginx:alpine" >> Dockerfile
- echo "FROM nginx:1.13.8-alpine" >> Dockerfile
- echo "COPY _book /usr/share/nginx/html" >> Dockerfile
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- docker build -t dockerpracticecn/docker_practice .