Tests fixed
This commit is contained in:
parent
2418edccfd
commit
030c049ca8
13 changed files with 131 additions and 38 deletions
|
|
@ -21,6 +21,10 @@ RUN apt-get update && apt-get install -y \
|
|||
# Clear cache
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Fix nginx permissions for rootless
|
||||
RUN mkdir -p /var/lib/nginx/body /var/lib/nginx/proxy /var/lib/nginx/fastcgi /var/log/nginx /var/run \
|
||||
&& chmod -R 777 /var/lib/nginx /var/log/nginx /var/run
|
||||
|
||||
# Install PHP extensions
|
||||
RUN docker-php-ext-install pdo_mysql pdo_pgsql mbstring exif pcntl bcmath gd zip
|
||||
|
||||
|
|
@ -42,7 +46,7 @@ RUN chown -R www-data:www-data /var/www/html \
|
|||
&& chmod -R 755 /var/www/html/bootstrap/cache
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
EXPOSE 8080
|
||||
|
||||
# Start supervisor
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue