File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM python:3.8-alpine
2+ RUN pip install csv-diff
3+ WORKDIR /files
4+ ENTRYPOINT ["csv-diff" ]
5+ CMD ["--help" ]
Original file line number Diff line number Diff line change @@ -112,3 +112,17 @@ You can also import the Python library into your own code like so:
112112` diff ` will now contain the same data structure as the output in the ` --json ` example above.
113113
114114If the columns in the CSV have changed, those added or removed columns will be ignored when calculating changes made to specific rows.
115+
116+ ## As a Docker container
117+
118+ ### Build the image
119+
120+ $ docker build -t csvdiff .
121+
122+ ### Run the container
123+
124+ $ docker run --rm -v $(pwd):/files csvdiff
125+
126+ Suppose current directory contains two csv files : one.csv two.csv
127+
128+ $ docker run --rm -v $(pwd):/files csvdiff one.csv two.csv
You can’t perform that action at this time.
0 commit comments