Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit a07df22

Browse files
authored
Replace ENTRYPOINT to CMD for easier overriding (#1531)
1 parent ad82f3b commit a07df22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ COPY --from=build $VENV $VENV
138138
COPY --from=build sparseml sparseml
139139
ENV PATH="${VENV}/bin:$PATH"
140140
HEALTHCHECK CMD python -c 'import sparseml'
141-
ENTRYPOINT bash
141+
CMD bash
142142

143143
FROM base as prod
144144
ARG VENV
145145
COPY --from=build $VENV $VENV
146146
ENV PATH="${VENV}/bin:$PATH"
147147
HEALTHCHECK CMD python -c 'import sparseml'
148-
ENTRYPOINT bash
148+
CMD bash
149149

0 commit comments

Comments
 (0)