Spaces:
Sleeping
Sleeping
fix: simplify HF Dockerfile without entrypoint
Browse files1234567891011121314151625 unmodified lines42434445464748495027 unmodified lines78798081FROM php:8.4-cliENV APP_ENV=production \APP_DEBUG=false \APP_URL=http://localhost \LOG_CHANNEL=stderr \LOG_LEVEL=debug \SESSION_DRIVER=file \CACHE_STORE=file \QUEUE_CONNECTION=sync \DB_CONNECTION=sqlite \PORT=7860RUN apt-get update && apt-get install -y \git unzip curl zip ca-certificates gnupg \libzip-dev \25 unmodified linesRUN mkdir -p /home/user/app && chown user:user /home/user/appCOPY entrypoint.sh /entrypoint.shRUN chmod +x /entrypoint.shWORKDIR /home/user/appUSER user27 unmodified linesEXPOSE 7860ENTRYPOINT ["/entrypoint.sh"]1234525 unmodified lines31323334353627 unmodified lines64656667686970FROM php:8.4-cliRUN apt-get update && apt-get install -y \git unzip curl zip ca-certificates gnupg \libzip-dev \25 unmodified linesRUN mkdir -p /home/user/app && chown user:user /home/user/appWORKDIR /home/user/appUSER user27 unmodified linesEXPOSE 7860CMD rm -f bootstrap/cache/config.php \&& php artisan config:clear \&& php artisan cache:clear \&& php artisan serve --host=0.0.0.0 --port="${PORT:-7860}"
Dockerfile.test+4-15