mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-30 03:09:22 +02:00
Fix docker build
This commit is contained in:
parent
335a0d1cff
commit
5e14521f08
65
.dockerignore
Normal file
65
.dockerignore
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
Thumbs.db
|
||||||
|
.DS_Store
|
||||||
|
.idea
|
||||||
|
|
||||||
|
#
|
||||||
|
/.htaccess
|
||||||
|
|
||||||
|
# composer
|
||||||
|
composer.phar
|
||||||
|
vendor
|
||||||
|
|
||||||
|
# npm
|
||||||
|
node_modules
|
||||||
|
tools/ext
|
||||||
|
|
||||||
|
# cypress
|
||||||
|
cypress.env.json
|
||||||
|
cypress/e2e/2-advanced-examples
|
||||||
|
cypress/screenshots
|
||||||
|
|
||||||
|
# created by release.sh
|
||||||
|
releases
|
||||||
|
tmp
|
||||||
|
|
||||||
|
config.local.php
|
||||||
|
!docker/config.local.php
|
||||||
|
|
||||||
|
# all custom templates
|
||||||
|
templates/*
|
||||||
|
!templates/tibiacom
|
||||||
|
!templates/kathrine
|
||||||
|
|
||||||
|
# guild images
|
||||||
|
images/guilds/*
|
||||||
|
!images/guilds/default.gif
|
||||||
|
|
||||||
|
# editor images
|
||||||
|
images/editor/*
|
||||||
|
!images/editor/index.html
|
||||||
|
|
||||||
|
# gallery images
|
||||||
|
images/gallery/*
|
||||||
|
!images/gallery/index.html
|
||||||
|
!images/gallery/demon.jpg
|
||||||
|
!images/gallery/demon_thumb.gif
|
||||||
|
|
||||||
|
# cache
|
||||||
|
system/cache/*
|
||||||
|
!system/cache/index.html
|
||||||
|
!system/cache/twig/index.html
|
||||||
|
!system/cache/signatures/index.html
|
||||||
|
!system/cache/plugins/index.html
|
||||||
|
!system/cache/persistent/index.html
|
||||||
|
|
||||||
|
# logs
|
||||||
|
system/logs/*
|
||||||
|
!system/logs/index.html
|
||||||
|
|
||||||
|
# data
|
||||||
|
system/data/*
|
||||||
|
!system/data/index.html
|
||||||
|
|
||||||
|
# php sessions
|
||||||
|
system/php_sessions/*
|
||||||
|
!system/php_sessions/index.html
|
@ -1,4 +1,3 @@
|
|||||||
version: "1.0"
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
ports:
|
ports:
|
||||||
|
@ -19,6 +19,8 @@ RUN apt-get update && apt-get install -y \
|
|||||||
nano \
|
nano \
|
||||||
vim
|
vim
|
||||||
|
|
||||||
|
RUN apt-get install -y nodejs npm
|
||||||
|
|
||||||
# Clear cache
|
# Clear cache
|
||||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@ -51,3 +53,4 @@ WORKDIR /var/www/html
|
|||||||
|
|
||||||
COPY --chown=www-data:www-data . .
|
COPY --chown=www-data:www-data . .
|
||||||
RUN composer install
|
RUN composer install
|
||||||
|
RUN npm install
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
$config['installed'] = true;
|
$config['installed'] = false;
|
||||||
$config['server_path'] = '/home/www-data/forgottenserver';
|
$config['server_path'] = '/home/www-data/forgottenserver';
|
||||||
$config['install_ignore_ip_check'] = true;
|
$config['install_ignore_ip_check'] = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user