Mise à jour de 'api-rest/Dockerfile'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
472fdc5aa3
commit
94431f5e91
@ -1,10 +1,13 @@
|
|||||||
FROM pensiero/apache-php-mysql
|
FROM php:8.0-apache
|
||||||
|
|
||||||
COPY api-rest/start-apache /usr/local/bin
|
COPY api-rest/start-apache /usr/local/bin
|
||||||
RUN chmod 755 /usr/local/bin/start-apache
|
RUN chmod 755 /usr/local/bin/start-apache
|
||||||
|
|
||||||
|
RUN docker-php-ext-install mysql && docker-php-ext-enable mysql
|
||||||
|
RUN apt-get update && apt-get upgrade -y
|
||||||
|
|
||||||
# Copy application source
|
# Copy application source
|
||||||
ADD api-rest /var/www/
|
ADD api-rest /var/www/html
|
||||||
RUN chown -R www-data:www-data /var/www/
|
RUN chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
CMD ["start-apache"]
|
CMD ["start-apache"]
|
||||||
|
Loading…
Reference in new issue