mithenks commited on
Commit
bbc7254
·
1 Parent(s): e3bc239

feat: create hello world endpoint

Browse files
Dockerfile CHANGED
@@ -2,11 +2,11 @@ FROM python:3.11
2
 
3
  WORKDIR /app
4
 
5
- COPY ./app/requirements.txt /app/requirements.txt
6
 
7
  RUN pip install --no-cache-dir -r /app/requirements.txt
8
 
9
- COPY ./app/. .
10
 
11
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
12
 
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY ./requirements.txt /app/requirements.txt
6
 
7
  RUN pip install --no-cache-dir -r /app/requirements.txt
8
 
9
+ COPY . .
10
 
11
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
12
 
app/main.py → main.py RENAMED
File without changes
app/requirements.txt → requirements.txt RENAMED
File without changes