Skip to content

Commit f4f4bb5

Browse files
authored
Create Dockerfile
1 parent d189b6a commit f4f4bb5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM python:3
2+
3+
WORKDIR /app
4+
5+
# install the latest TabPy
6+
RUN python3 -m pip install --upgrade pip && python3 -m pip install --upgrade tabpy
7+
8+
# start TabPy
9+
CMD ["sh", "-c", "tabpy"]
10+
11+
# deploy models
12+
RUN tabpy-deploy-models

0 commit comments

Comments
 (0)