Fix docker build

This commit is contained in:
slawkens
2024-12-20 22:27:57 +01:00
parent 335a0d1cff
commit 5e14521f08
4 changed files with 69 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ RUN apt-get update && apt-get install -y \
nano \
vim
RUN apt-get install -y nodejs npm
# Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
@@ -51,3 +53,4 @@ WORKDIR /var/www/html
COPY --chown=www-data:www-data . .
RUN composer install
RUN npm install

View File

@@ -1,4 +1,4 @@
<?php
$config['installed'] = true;
$config['installed'] = false;
$config['server_path'] = '/home/www-data/forgottenserver';
$config['install_ignore_ip_check'] = true;