Beamlnwza commited on
Commit
03e1dbe
·
1 Parent(s): 2b30a41

vercel config add

Browse files
Files changed (6) hide show
  1. .dockerignore +4 -0
  2. .gitignore +3 -2
  3. .vercelignore +1 -0
  4. Dockerfile +12 -0
  5. requirements.txt +0 -0
  6. src/store/test.txt +1 -0
.dockerignore ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ .vercel
2
+ venv
3
+ .idea
4
+ __pycache__
.gitignore CHANGED
@@ -20,8 +20,9 @@ venv
20
  docs.zip
21
  archive.zip
22
  .env
23
- src/store
24
 
25
  # vim temporary files
26
  *~
27
- .*.sw?
 
 
20
  docs.zip
21
  archive.zip
22
  .env
23
+ vercel.json
24
 
25
  # vim temporary files
26
  *~
27
+ .*.sw?
28
+ .vercel
.vercelignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .idea
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+
7
+ RUN pip install --upgrade pip && \
8
+ pip install --no-cache-dir -r requirements.txt
9
+
10
+ COPY . .
11
+
12
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
requirements.txt CHANGED
Binary files a/requirements.txt and b/requirements.txt differ
 
src/store/test.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ don't remove krub