Skip to content

Commit

Permalink
Merge pull request #84 from tamakiii/fix-readme-about-run-with-docker
Browse files Browse the repository at this point in the history
fix-readme-about-run-with-docker
  • Loading branch information
yuiseki authored Apr 18, 2020
2 parents 4088add + 5599f6f commit f390994
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@ $ make test
## Run with docker

```
cd docker
docker build -t vscovid-crawler .
cd ..
docker run --rm -d -p 8080:80 -v $(pwd):/home/ubuntu/vscovid-crawler --entrypoint /home/ubuntu/vscovid-crawler/docker/entrypoint.sh -it vscovid-crawler
docker run -it --rm -p 8080:80 -v $(pwd):/home/ubuntu/vscovid-crawler --entrypoint /home/ubuntu/vscovid-crawler/docker/entrypoint.sh vscovid-crawler
```

## Run with docker-compose
## Run with docker-compose

```
$ docker-compose build
Expand Down
4 changes: 1 addition & 3 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@ mkdir -p /var/spool/squid
chown -R proxy:proxy /var/spool/squid
$(which squid) -N -f /etc/squid/squid.conf -z

exec $(which squid) -f /etc/squid/squid.conf -NYCd 1


exec $(which squid) -f /etc/squid/squid.conf -NYCd 1

0 comments on commit f390994

Please sign in to comment.