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
|
||||
|
||||
RUN mkdir -p /var/www/repuve-backend-v1
|
||||
FROM php:8.3-fpm-alpine
|
||||
|
||||
WORKDIR /var/www/repuve-backend-v1
|
||||
|
||||
RUN apt-get update && apt-get install -y\
|
||||
RUN apk add --no-cache \
|
||||
git \
|
||||
curl \
|
||||
libpng-dev \
|
||||
libonig-dev \
|
||||
oniguruma-dev \
|
||||
libxml2-dev \
|
||||
zip \
|
||||
unzip \
|
||||
libzip-dev\
|
||||
libzip-dev \
|
||||
nano \
|
||||
openssl \
|
||||
libssl-dev \
|
||||
libcurl4-openssl-dev \
|
||||
pkg-config
|
||||
|
||||
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip
|
||||
bash \
|
||||
&& docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip
|
||||
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
@ -29,8 +24,6 @@ RUN composer install --optimize-autoloader --no-interaction --no-scripts
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/repuve-backend-v1
|
||||
|
||||
COPY entrypoint-dev.sh /usr/local/bin/entrypoint-dev.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint-dev.sh
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user