File size: 314 Bytes
5ea2b9d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.9.13

WORKDIR /app

# backend 폴더 전체 복사
COPY backend/ ./backend

# backend 안의 requirements.txt 설치
RUN pip install --no-cache-dir -r backend/requirements.txt

# (필요하면 startup.py 복사)

CMD ["bash", "-c", "uvicorn backend.main:app --host 0.0.0.0 --port 7860"]