WIP: Next major version - AthenaHR v2 #1

Draft
miguel456 wants to merge 46 commits from develop into main
752 changed files with 637 additions and 339 deletions
Showing only changes of commit aee7e505bc - Show all commits

View File

@@ -19,13 +19,12 @@ RUN apt-get install -y nodejs
WORKDIR /var/www/html
COPY . .
COPY --chown=www-data:www-data . .
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer update && composer install
RUN npm ci
# Set Laravel's permissions and setup storage, though this could be done in the COPY command directly
RUN chown -R www-data:www-data .
RUN chmod -R 755 /var/www/html/storage
RUN php artisan storage:link