contao läuft und absolute basic seite ist erstellt
Frontend: http://localhost:8080/default Backend: http://localhost:8080/contao
This commit is contained in:
1 parent
8865b806df
commit
1c1bf84b7a
5 files changed
+25
-10
No files matched your search
@@ -6,6 +6,7 @@ RUN apt-get update \
|
||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install -j"$(nproc)" intl gd mysqli pdo_mysql zip opcache \
|
||||
&& a2enmod rewrite headers expires \
|
||||
&& echo "memory_limit=256M" > /usr/local/etc/php/conf.d/contao-memory-limit.ini \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
@@ -16,7 +17,5 @@ WORKDIR /var/www/html
|
||||
COPY composer.json ./
|
||||
RUN if [ -f composer.json ]; then composer install --no-interaction --prefer-dist --no-progress; fi
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN mkdir -p var public/assets \
|
||||
&& chown -R www-data:www-data var public
|
||||
Reference in new issue
Block a user