My repository for URI Online Judge.
* Need the pwd command in your shell.
# using my container on the dockerhub (jonloureiro/problems-and-contests)
docker run --rm -v $(pwd):/node jonloureiro/problems-and-contests <folder-name>
# example
docker run --rm -v $(pwd):/node jonloureiro/problems-and-contests 1001
# building your image
docker build -t <image-name> .
- Create a folder <folder-name>
- Create an index.js inside the folder
- Create test files with the name ending in .txt
- Run the docker passing the <folder-name> how arg
Look at some folder as an example.