Spaces:
Paused
Paused
File size: 450 Bytes
44c69fc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
FROM python:3.9-slim
# ์์คํ
ํจํค์ง ์ค์น
RUN apt-get update && apt-get install -y \
wget \
curl \
ca-certificates \
git \
&& rm -rf /var/lib/apt/lists/*
# ์์
๋๋ ํ ๋ฆฌ ์ค์
WORKDIR /app
# Python ํจํค์ง ์ค์น
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# ์ ํ๋ฆฌ์ผ์ด์
ํ์ผ ๋ณต์ฌ
COPY . .
# ํฌํธ ์ค์
EXPOSE 7860
# ์คํ ์คํฌ๋ฆฝํธ
CMD ["python", "app.py"]
|