Skip to content

Commit

Permalink
checking if issue is related to permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Steliyan Nedev authored and Steliyan Nedev committed Jun 5, 2024
1 parent ea93dbd commit 83a7604
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ EXPOSE 80

WORKDIR /var/www/html

COPY ./docker/server/99-overrides.ini /usr/local/etc/php/conf.d
COPY ./assets/99-overrides.ini /usr/local/etc/php/conf.d

COPY ./docker/server/docker-entrypoint.sh /usr/local/bin
# Copy the entrypoint script
COPY ./assets/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh

# Give execute permissions to the entrypoint script
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

RUN apt-get update \
&& apt-get install -y libfreetype-dev libjpeg62-turbo-dev libpng-dev unzip wget nano \
&& curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \
&& curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \
curl gd mbstring mysqli xdebug gettext \
&& docker-php-ext-enable xdebug \
&& wget https://github.com/alextselegidis/easyappointments/releases/download/${VERSION}/easyappointments-${VERSION}.zip \
Expand Down

0 comments on commit 83a7604

Please sign in to comment.