NeuralNodeAI/Freelance_Elite
0
1# Use PHP with Apache2FROM php:8.2-apache3 4# Install SQLite dependencies5RUN apt-get update && apt-get install -y libsqlite3-dev \6 && docker-php-ext-install pdo pdo_sqlite7 8# Set working directory9WORKDIR /var/www/html10 11# Copy project files12COPY . .13 14# Set permissions so the web server can write to the SQLite database15RUN chown -R www-data:www-data /var/www/html16 17# Configure Apache to listen on port 7860 for Hugging Face18RUN sed -i 's/80/7860/g' /etc/apache2/ports.conf /etc/apache2/sites-available/000-default.conf19 20EXPOSE 786021 22CMD ["apache2-foreground"]