Commit 2ccc9403 authored by Vũ Hoàng Anh's avatar Vũ Hoàng Anh

Fix line endings: CRLF LF for entrypoint.sh scripts

parent 6c61cf17
...@@ -31,4 +31,4 @@ HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=2 \ ...@@ -31,4 +31,4 @@ HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=2 \
# Lệnh chạy server với hot reload # Lệnh chạy server với hot reload
# ⚡ Hot reload - tự động restart khi code thay đổi (cho local dev) # ⚡ Hot reload - tự động restart khi code thay đổi (cho local dev)
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000", "--reload", "--reload-dirs", "agent,api,common"] CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000", "--reload"]
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# DOCKERFILE.PROD - Production (Multi-Worker Gunicorn) # DOCKERFILE.PROD - Production (Multi-Worker Gunicorn)
# ============================================================ # ============================================================
# Multi-stage build để optimize dung lượng image # Multi-stage build để optimize dung lượng image
FROM python:3.11-slim as builder FROM python:3.11-slim AS builder
WORKDIR /app WORKDIR /app
......
= #!/bin/bash
# Lấy số CPU cores # Lấy số CPU cores
NUM_CORES=$(nproc) NUM_CORES=$(nproc)
......

\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment