Skip to content

Commit

Permalink
Replace ENTRYPOINT to CMD for easier overriding (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-tuli committed Apr 21, 2023
1 parent ad82f3b commit a07df22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ COPY --from=build $VENV $VENV
COPY --from=build sparseml sparseml
ENV PATH="${VENV}/bin:$PATH"
HEALTHCHECK CMD python -c 'import sparseml'
ENTRYPOINT bash
CMD bash

FROM base as prod
ARG VENV
COPY --from=build $VENV $VENV
ENV PATH="${VENV}/bin:$PATH"
HEALTHCHECK CMD python -c 'import sparseml'
ENTRYPOINT bash
CMD bash

0 comments on commit a07df22

Please sign in to comment.