Layout Base

This commit is contained in:
2025-01-07 07:09:25 -03:00
parent 6ec3344c17
commit 07b62a07a0
29 changed files with 623 additions and 2516 deletions

View File

@@ -3,8 +3,9 @@ FROM php:8.4-fpm-alpine
ARG UID=1000
ARG GID=1000
RUN apk add --no-cache shadow nginx git curl zip unzip supervisor nodejs-current npm postgresql17-dev \
RUN apk add --no-cache shadow nginx git curl zip unzip supervisor nodejs-current npm postgresql17-dev libzip-dev \
&& docker-php-ext-install pdo_pgsql \
&& docker-php-ext-install zip \
&& usermod -u 1000 www-data \
&& groupmod -g 1000 www-data
@@ -19,9 +20,12 @@ COPY supervisord.conf /etc/supervisord.conf
COPY entrypoint.sh /etc/entrypoint.sh
COPY ./ ./
RUN chown -R www-data:www-data /var/www/html \
&& composer dump-autoload \
&& npm install \
&& npm run build \
&& npm cache clean --force \
&& rm -rf node_modules\
&& rm -rf /tmp/* /var/tmp/*
EXPOSE 80