Added achievement data

This commit is contained in:
2026-05-10 02:28:30 +10:00
parent f2b2eaaabe
commit 217a971360
23 changed files with 479 additions and 470 deletions
+8 -4
View File
@@ -1,10 +1,8 @@
FROM php:8.4-fpm-alpine
# Install dependencies
RUN apk add --no-cache nginx curl zip unzip git postgresql-dev nodejs npm \
RUN apk add --no-cache nginx curl zip unzip git postgresql-dev nodejs npm dcron \
&& docker-php-ext-install pdo pdo_pgsql pgsql opcache
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
WORKDIR /var/www
@@ -19,6 +17,12 @@ COPY docker/nginx.conf /etc/nginx/nginx.conf
RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
RUN echo "* * * * * cd /var/www && php artisan schedule:run" \
> /etc/crontabs/root
COPY docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 80
CMD ["sh", "-c", "php-fpm -D && nginx -g 'daemon off;'"]
CMD ["/entrypoint.sh"]