FROM python:alpine
ENV SRC_DIR /src
COPY src $SRC_DIR
WORKDIR $SRC_DIR
RUN chmod +x ./train.sh ./inference.sh
_____________________________________________________
2. docker run comment
??? 3??? ??? ????,
(X) docker run -it --rm help-khidi-tensorflow-1.14.0-gpu-py3:latest sh -c './train.sh; ./inference.sh'
(X) docker run -it --rm help-khidi-tensorflow-1.14.0-gpu-py3:latest sh -c './train.sh'
(X) docker run -it --rm help-khidi-tensorflow-1.14.0-gpu-py3:latest sh './train.sh; ./inference.sh'
? ????? ???? ?????.
(O) docker run -it --rm help-khidi-tensorflow-1.14.0-gpu-py3:latest sh './train.sh'