Chanjeans commited on
Commit
6e0e98a
ยท
verified ยท
1 Parent(s): 3390d90

Create Dockerfile

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