Having nosetests watch files from outside container and rerun tests inside container
How can I develop outside a docker container but still have nosetests watch my file changes and rerun my unit tests inside the container? Here's my Dockerfile FROM ubuntu # Install Python. RUN \ apt-get update && \ apt-get install -y python python-dev python-pip python-virtualenv && \ rm -rf /var/lib/apt/lists/* && \ pip install nose nose-watch mock && \ locale-gen en_US.UTF-8 # Define working directory. WORKDIR /data/test/src # Define default command. CMD ["bash"] Here are my commands: docker build -t="test” . docker run -it -v ~/test/src:/data/test/src test When I run nosetests --with-watch inside the container, everything works. However, if I make file changes outside the container (I want to develop outside the container), then nosetests won't detect the changes and rerun the tests. I thought a volume was supposed to share files from host to container...
Assign different operators during python loop
When installing through pip, how do I tell matplotlib how to find tkinter?
Regex for weekdays in python [closed]
Detect Changes to Environment Variables
Select all by type: Geometry. Equivalent Python script?
Sorting algorithm doesn't work
How to avoid “Name 're' is not defined” error while connecting pycharm remote debugger?
Python - Generate binary list with itertools
Capture domain and path from URL with regex
Pylab animation multiple figures
Django Password Reset Email Error 10060
Excel delimited file
Why is scrapy dumping thousands of `ERROR` log messages without any description of the error?
Python 2.5.4: how to find sum of logarithm values
Posting a json data in url — Python
How to Covert to dictionary in Python