Mike commited on
Commit
dd73986
1 Parent(s): 00d2aba
Files changed (3) hide show
  1. Dockerfile +13 -0
  2. README.md +4 -4
  3. requirements.txt +2 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
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
+ RUN git clone https://github.com/the-crypt-keeper/can-ai-code.git /code/can_ai_code
10
+
11
+ WORKDIR /code/can_ai_code
12
+
13
+ CMD ["streamlit", "run", "compare-app.py", "--server.address", "0.0.0.0", "--server.port", "7860"]
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
  title: Can Ai Code Compare
3
- emoji: 🐢
4
- colorFrom: purple
5
- colorTo: green
6
  sdk: docker
7
- pinned: false
8
  license: mit
9
  ---
10
 
 
1
  ---
2
  title: Can Ai Code Compare
3
+ emoji: ⚖️
4
+ colorFrom: blue
5
+ colorTo: indigo
6
  sdk: docker
7
+ app_port: 7860
8
  license: mit
9
  ---
10
 
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ streamlit==1.23
2
+ pyyaml