Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Add NDVI sample notebook
* Improve STAC output
* Tweak CWL format (#24)
* Use micromamba entry point in Docker image (#26)

## Changes in 0.1.0

Expand Down
5 changes: 3 additions & 2 deletions xcengine/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def create_cwl(self, image_tag: str) -> dict[str, Any]:
"DockerRequirement": {"dockerPull": image_tag}
},
"baseCommand": [
"python3",
"/usr/local/bin/_entrypoint.sh",
"python",
"/home/mambauser/execute.py",
],
"arguments": ["--batch", "--eoap"],
Expand Down Expand Up @@ -280,7 +281,7 @@ def _build_image(self) -> docker.models.images.Image:
COPY parameters.yaml parameters.yaml
COPY parameters.py parameters.py
COPY util.py util.py
CMD python execute.py
ENTRYPOINT ["/usr/local/bin/_entrypoint.sh", "python", "/home/mambauser/execute.py"]
"""
)
with open(self.build_dir / "Dockerfile", "w") as fh:
Expand Down