Team Ai
Apppublic

Quan1811/phi2-docstring-api

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
Dockerfile16 linesDownload Raw Back to root
1FROM python:3.10-slim2 3# Thiết lập thư mục làm việc4WORKDIR /code5 6# Copy file cài đặt thư viện vào trước để tận dụng cache của Docker7COPY ./requirements.txt /code/requirements.txt8 9# Cài đặt các thư viện10RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt11 12# Copy toàn bộ source code vào container13COPY . .14 15# Lệnh khởi chạy ứng dụng (Sử dụng port 7860 theo tiêu chuẩn của HF Spaces)16CMD ["python", "app.py"]