File size: 313 Bytes
8b77729
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash


cleanup() {
  rm -f Dockerfile
}

trap cleanup ERR EXIT

cat > Dockerfile << EOF
FROM python
COPY requirements.txt .
COPY tagging_app.py .
RUN pip install -r requirements.txt
CMD ["streamlit", "run", "tagging_app.py"]
EOF

set -eEx

./build_metadata_file.py
docker build -t dataset-tagger .