Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # install dependencies
- COPY Pipfile Pipfile.lock ./
- # RUN set -x; \
- # pipenv install --system --verbose
- # こうやりたいけど、tensorflow-gpuよりpipenvで入るtensorflowが優先されてしまうのでNG
- RUN set -x; \
- pipenv lock -r > requirements.txt; \
- sed -i.bak '/^tensorflow/d' requirements.txt; \
- sed -i.bak '/^tensorboard/d' requirements.txt; \
- pip --no-cache-dir install -r requirements.txt
- # pipenvからrequirements.txtを生成し、tensorflowだけ抜いて実行する
Add Comment
Please, Sign In to add comment