move docker file remove compose.yml
All checks were successful
build / build (push) Successful in 10s

This commit is contained in:
2024-12-04 16:36:48 +01:00
parent cf09243bfe
commit 498473686a
3 changed files with 1 additions and 12 deletions

View File

@ -1,20 +0,0 @@
FROM php:8.2-apache
RUN apt-get update \
&& apt-get install -qq -y --no-install-recommends \
cron \
nano \
locales coreutils apt-utils git libicu-dev g++ libpng-dev libxml2-dev libzip-dev libonig-dev libxslt-dev;
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
RUN curl -sSk https://getcomposer.org/installer | php -- --disable-tls && \
mv composer.phar /usr/local/bin/composer
RUN docker-php-ext-configure intl
RUN docker-php-ext-install pdo pdo_mysql mysqli gd opcache intl zip calendar dom mbstring zip gd xsl && a2enmod rewrite
RUN pecl install apcu && docker-php-ext-enable apcu
COPY ../../ /var/www/project/
WORKDIR /var/www

View File

@ -1,10 +0,0 @@
services:
file-explorer:
build: .
container_name: file-explorer
ports:
- "8080:80"
volumes:
- ./hosts:/etc/apache2/sites-enabled
- ../:/var/www/project
restart: unless-stopped