[DOC] بهبود کامنت در Dockerfile درباره PYTHONPATH (fix) | ApprovalToken: accepted
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -143,8 +143,9 @@ RUN chmod -R 755 /app && \
|
||||
chmod -R 777 /app/data /app/logs /app/uploaded_files
|
||||
|
||||
# Environment variables
|
||||
# PYTHONPATH=/app allows importing peikarband.peikarband
|
||||
# PYTHONPATH=/app allows importing peikarband package from /app/peikarband
|
||||
# PYTHONPATH also includes /app/peikarband for src.* imports
|
||||
# Note: Python adds current directory (.) to sys.path automatically, but PYTHONPATH entries come first
|
||||
# REFLEX_DIR points to the directory containing rxconfig.py
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
|
||||
Reference in New Issue
Block a user