ViT5BaseNode / Dockerfile
VietCat's picture
init project
20688a8
raw
history blame
383 Bytes
FROM python:3.10-slim
# Cài thư viện hệ thống cần thiết
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
# Tạo thư mục làm việc
WORKDIR /app
# Copy code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
# Expose port mặc định HFS (7860)
EXPOSE 7860
# Run Flask
CMD ["python", "app.py"]