You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 line
699B

  1. FROM php:8.2-fpm-bookworm
  2. RUN apt-get update \
  3. && apt-get install -y --no-install-recommends nginx git unzip libsqlite3-dev \
  4. && docker-php-ext-install pdo_mysql pdo_sqlite \
  5. && rm -rf /var/lib/apt/lists/* \
  6. && rm -f /etc/nginx/conf.d/default.conf /etc/nginx/sites-enabled/default
  7. COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
  8. WORKDIR /var/www/html
  9. COPY . /var/www/html
  10. COPY docker/nginx/default.conf /etc/nginx/conf.d/default.conf
  11. COPY docker/php/app.ini /usr/local/etc/php/conf.d/app.ini
  12. COPY docker/start-container.sh /usr/local/bin/start-container
  13. RUN chmod +x /usr/local/bin/start-container \
  14. && mkdir -p /run/php
  15. EXPOSE 80
  16. CMD ["start-container"]

Powered by TurnKey Linux.