16 lines
335 B
Bash
Executable File
16 lines
335 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
python3 -m venv build_venv
|
|
source build_venv/bin/activate
|
|
python3 -m pip install --upgrade pip
|
|
|
|
pip install dvc
|
|
pip install 'dvc[ssh]'
|
|
dvc pull
|
|
|
|
git submodule update --init --recursive
|
|
|
|
docker build -f Dockerfile-base -t detr-server-base .
|
|
docker build -f Dockerfile -t detr-server . --build-arg VERSION_TAG=latest
|