mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-31 07:11:16 -07:00
Docker update to set pipeline commands as a variable
This commit is contained in:
parent
739c6f9306
commit
be6d532851
4 changed files with 13 additions and 15 deletions
|
@ -53,6 +53,6 @@ RUN poetry config virtualenvs.create false \
|
|||
&& poetry install --only main --no-interaction --no-ansi
|
||||
RUN pip install openpyxl
|
||||
|
||||
# Default behavior is to output the options for "full-run". This prevents the entire pipeline from running unintentionally.
|
||||
ENTRYPOINT [ "poetry", "run", "python3", "-m", "data_pipeline.application"]
|
||||
CMD ["full-run", "--help"]
|
||||
# Default behavior is to output the options for the base application. This prevents the entire pipeline from running unintentionally.
|
||||
ENV PIPELINE_CMD="data_pipeline.application --help"
|
||||
CMD ["sh", "-c", "poetry run python3 -m $PIPELINE_CMD"]
|
2
data/data-pipeline/poetry.lock
generated
2
data/data-pipeline/poetry.lock
generated
|
@ -5053,4 +5053,4 @@ test = ["mypy", "pre-commit", "pytest", "pytest-asyncio", "websockets (>=10.0)"]
|
|||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.10"
|
||||
content-hash = "04639d2eaf33218ba4fef190f76620b00fb2285d86d58458511d85dafd304658"
|
||||
content-hash = "3b59246d964a1dd70669a6b612fbd4d8581a22959e3b6f8e3b542d102e125903"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue