Skip to content

Commit

Permalink
* bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sinfallas committed Nov 25, 2024
1 parent 3287682 commit 8551f40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM php:8.1-fpm
LABEL maintainer="[email protected]"
LABEL build_date="2024-11-23"
RUN mkdir -p /var/www/
WORKDIR /var/www
RUN mkdir -p /var/www/vendor
RUN apt-get update -qq && apt-get -y dist-upgrade && apt-get -y --no-install-recommends --no-install-suggests install build-essential libicu-dev libzip-dev libpng-dev libonig-dev libpq-dev zip unzip wget nano curl git && apt-get clean && rm -rf /var/lib/{apt,dpkg,cache,log} && apt -y autoremove
RUN docker-php-ext-install bcmath mbstring pcntl intl zip opcache gd pdo pdo_pgsql pgsql
RUN docker-php-ext-configure zip
Expand All @@ -11,5 +11,4 @@ COPY ./php.ini /usr/local/etc/php/php.ini
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
RUN chmod 777 /usr/bin/composer
RUN groupadd -g 1000 www && useradd -u 1000 -ms /bin/bash -g www www
USER www
CMD ["php-fpm"]

0 comments on commit 8551f40

Please sign in to comment.