feat: Implement notification controller, add new image, configure Git ignores for storage and cache, and update Dockerfile to Alpine.
This commit is contained in:
parent
6388410153
commit
90f943291e
19
dockerfile
19
dockerfile
@ -1,25 +1,20 @@
|
|||||||
FROM php:8.3-fpm
|
FROM php:8.3-fpm-alpine
|
||||||
|
|
||||||
RUN mkdir -p /var/www/repuve-backend-v1
|
|
||||||
|
|
||||||
WORKDIR /var/www/repuve-backend-v1
|
WORKDIR /var/www/repuve-backend-v1
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y\
|
RUN apk add --no-cache \
|
||||||
git \
|
git \
|
||||||
curl \
|
curl \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
libonig-dev \
|
oniguruma-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
zip \
|
zip \
|
||||||
unzip \
|
unzip \
|
||||||
libzip-dev\
|
libzip-dev \
|
||||||
nano \
|
nano \
|
||||||
openssl \
|
openssl \
|
||||||
libssl-dev \
|
bash \
|
||||||
libcurl4-openssl-dev \
|
&& docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip
|
||||||
pkg-config
|
|
||||||
|
|
||||||
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip
|
|
||||||
|
|
||||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
@ -29,8 +24,6 @@ RUN composer install --optimize-autoloader --no-interaction --no-scripts
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN chown -R www-data:www-data /var/www/repuve-backend-v1
|
|
||||||
|
|
||||||
COPY entrypoint-dev.sh /usr/local/bin/entrypoint-dev.sh
|
COPY entrypoint-dev.sh /usr/local/bin/entrypoint-dev.sh
|
||||||
RUN chmod +x /usr/local/bin/entrypoint-dev.sh
|
RUN chmod +x /usr/local/bin/entrypoint-dev.sh
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user