anon5 commited on
Commit
be66c53
1 Parent(s): 32580f5

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ # Create app directory
4
+ WORKDIR /code
5
+
6
+ RUN wget https://huggingface.co/spaces/anon5/vit-base-patch32-384-api/raw/main/app.py -O ./app.py
7
+ RUN pip install flask transformers
8
+
9
+ EXPOSE 5000
10
+ CMD [ "flask ", "--app", "app", "run" ]