machineuser commited on
Commit
cf46ccb
1 Parent(s): ff76d50

Try this Dockerfile?

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -0
  2. README.md +1 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.7
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
+
9
+ COPY . .
10
+
11
+ CMD ["bokeh", "serve", "naacl_demo", "--allow-websocket-origin=*"]
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: red
5
  colorTo: yellow
6
  sdk: docker
7
  pinned: false
 
8
  ---
9
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: yellow
6
  sdk: docker
7
  pinned: false
8
+ app_port: 5006
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference