Skip to content

Commit

Permalink
working on new dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
travierm committed Dec 29, 2024
1 parent bc854c4 commit b88c5ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN apk add --no-cache \
oniguruma-dev \
libxml2-dev

RUN rm -f /usr/local/etc/php/conf.d/*pdo*.ini

# Install PHP extensions
RUN docker-php-ext-install \
pdo \
Expand Down Expand Up @@ -65,3 +67,6 @@ RUN composer install --optimize-autoloader --no-interaction --no-progress

# Let supervisord start nginx & php-fpm
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

HEALTHCHECK --interval=5s --timeout=10s --start-period=30s --retries=3 \
CMD curl --silent --fail http://127.0.0.1:8080/api/ping || exit 1

0 comments on commit b88c5ec

Please sign in to comment.