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 authored and bfineran committed May 8, 2023
1 parent 35eefb0 commit f6a7163
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 f6a7163

Please sign in to comment.