Check your .env
:
APP_ENV=production
APP_DEBUG=false
- Triple-check APP_DEBUG before every deployment
- Automate this check in CI/CD
FROM php:8.4-fpm | |
RUN apt-get update -y && apt-get install -y openssl zip unzip git | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
RUN apt-get update && apt-get install -y libpq-dev | |
RUN docker-php-ext-install pdo pdo_pgsql | |
RUN php -m | grep mbstring | |
WORKDIR /app | |
COPY . /app | |
RUN composer install |
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
# C extensions | |
*.so | |
# Distribution / packaging | |
.Python | |
env/ |
# Default | |
beautifulsoup4 | |
rank-bm25 | |
fastapi | |
langchain | |
matplotlib | |
pre-commit | |
python-dotenv | |
ray | |
seaborn |