Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chatbot_canifa_test_conservation_tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
chatbot_canifa_test_conservation_tools
Commits
2ccc9403
Commit
2ccc9403
authored
Jan 12, 2026
by
Vũ Hoàng Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix line endings: CRLF LF for entrypoint.sh scripts
parent
6c61cf17
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
Dockerfile.dev
backend/Dockerfile.dev
+1
-1
Dockerfile.prod
backend/Dockerfile.prod
+1
-1
entrypoint.sh
backend/entrypoint.sh
+1
-1
entrypoint.sh
entrypoint.sh
+1
-0
No files found.
backend/Dockerfile.dev
View file @
2ccc9403
...
@@ -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"]
backend/Dockerfile.prod
View file @
2ccc9403
...
@@ -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
...
...
backend/entrypoint.sh
View file @
2ccc9403
=
#!/bin/bash
# Lấy số CPU cores
# Lấy số CPU cores
NUM_CORES
=
$(
nproc
)
NUM_CORES
=
$(
nproc
)
...
...
entrypoint.sh
0 → 100644
View file @
2ccc9403
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment