julien-c HF staff commited on
Commit
111cea2
1 Parent(s): 01a09e8

Deploy as a HF Space

Browse files
Files changed (3) hide show
  1. Dockerfile +11 -0
  2. README.md +11 -0
  3. deploy.sh +0 -3
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:20
2
+
3
+ WORKDIR /code
4
+
5
+ RUN npm i -g typescript@4.0.3
6
+
7
+ COPY . .
8
+
9
+ RUN deploy.sh
10
+
11
+ CMD ["node", "server/dist/server.js"]
README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: ConvAI
3
+ emoji: 🔥
4
+ colorFrom: yellow
5
+ colorTo: yellow
6
+ sdk: docker
7
+ pinned: false
8
+ app_port: 3200
9
+ ---
10
+
11
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
deploy.sh CHANGED
@@ -1,6 +1,3 @@
1
- #!/bin/bash
2
- git checkout **/package-lock.json
3
- git pull
4
 
5
  # Front
6
  pushd front
 
 
 
 
1
 
2
  # Front
3
  pushd front