Add entrypoint for supporting loading secrets from _FILE env vars

This commit is contained in:
2025-05-09 13:21:46 -04:00
parent acf79a9c69
commit 80ac0062d6
2 changed files with 19 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ RUN python /install-poetry.py --yes --version ${POETRY_VERSION}
ADD . /build
WORKDIR /build
RUN /root/.local/bin/poetry self add poetry-plugin-export
RUN /root/.local/bin/poetry self add 'poetry-plugin-export<1.9'
RUN /root/.local/bin/poetry export \
--format requirements.txt \
--output /build/requirements.txt \
@@ -35,6 +35,8 @@ RUN python -m pip install /tmp/wheels/*.whl \
--disable-pip-version-check
RUN rm -rf /tmp/wheels
ENTRYPOINT ["s3cmd"]
ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--help"]