-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docker entrypoint #85
Fix docker entrypoint #85
Conversation
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker build -t vscovid-crawler .
Sending build context to Docker daemon 3.676MB
Step 1/12 : FROM ubuntu:18.04
...
Successfully built 89728f0d0223
Successfully tagged vscovid-crawler:latest
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker run -it --rm -v $(pwd):/app -p 8080:80 vscovid-crawler bash -c 'pwd'
/app
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker run -it --rm -v $(pwd):/app -p 8080:80 vscovid-crawler
make: Entering directory '/app'
find ./test/ -regex '.*\.sh$' | xargs -t -n1 bash
bash ./test/url-map_test.sh |
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker-compose build
Building vscovid-crawler
Step 1/11 : FROM ubuntu:18.04
...
Successfully built b83de3bb6b0b
Successfully tagged covid19-surveyor_vscovid-crawler:latest
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker-compose up
Recreating covid19-surveyor_vscovid-crawler_1 ... done
Attaching to covid19-surveyor_vscovid-crawler_1
vscovid-crawler_1 | make: Entering directory '/app'
vscovid-crawler_1 | find ./test/ -regex '.*\.sh$' | xargs -t -n1 bash
vscovid-crawler_1 | bash ./test/url-map_test.sh
vscovid-crawler_1 | actual 首相官邸ホームページ
vscovid-crawler_1 | expect 首相官邸ホームページ |
|
大量の成果物がプロジェクト内に生成される場合、volumeマウントしているとホストOS側に成果物が来て、Dockerfile で |
@yuiseki さんに Hangout でお聞きして |
↑ done |
これが通れば Redis コンテナの追加が進められそう => tamakiii-sandbox#1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
たぶん大丈夫そう
#84 (comment)