limyehji commited on
Commit
9cd80c5
ยท
verified ยท
1 Parent(s): ddb29ce

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ # ์ž‘์—… ๋””๋ ‰ํ† ๋ฆฌ ์„ค์ •
4
+ WORKDIR /app
5
+
6
+ # ํ•„์š” ํŒจํ‚ค์ง€ ์„ค์น˜
7
+ COPY requirements.txt .
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+
10
+ # FastAPI ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ณต์‚ฌ
11
+ COPY app.py .
12
+
13
+ # FastAPI ์‹คํ–‰
14
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]