Docker image which integrates unittest, nose and nodemon to easily test your code continuously.
sh)Just make sure that docker container run --rm hello-world doesn't return anything funny.
Given that ./src contains your code (and its tests), run docker container run -t -v $(pwd)/src:/src poppash/pynosemon.
python:3.7-alpine base image-t) allows us to quit nodemon using CTRL+CNote that you'll be fine as long as you mount to /src.
To use a different Python version, clone this repo and build the image specifying build-time variable PYTAG.
docker image build --build-arg PYTAG=2.7 -t pynosemon . && \
docker container run -t -v $(pwd)/src:/src pynosemon
A config file is included if you prefer using docker-compose.
Note that you can also set build-time variable ALPINETAG, as long as it's supported.
Inspired by this Stack Overflow answer. Thanks, bkinsey808!
Content type
Image
Digest
Size
49.6 MB
Last updated
over 7 years ago
docker pull poppash/pynosemon