-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds dm_formatter.py to PATH so users can run it directly. Also adds metadata to the Docker container.
- Loading branch information
1 parent
18e4710
commit 70e9fe7
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
FROM python:3.8.10-slim-buster | ||
LABEL "org.opencontainers.image.authors"="John Bradley <[email protected]>" | ||
LABEL "org.opencontainers.image.description"="Tool to reformat drexel metadata JSON files" | ||
|
||
WORKDIR /pipeline | ||
|
||
# ADD scripts in /pipeline to the PATH | ||
ENV PATH="/pipeline:${PATH}" | ||
|
||
COPY dm_formatter.py /pipeline | ||
CMD echo "python dm_formatter.py input output" | ||
CMD echo "dm_formatter.py input output" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters