Mise à jour de 'api-rest/Dockerfile'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
e2ac3099d2
commit
65bf2165b2
@ -1,2 +1,12 @@
|
|||||||
FROM php:8.0-apache
|
FROM php:8.0-apache
|
||||||
|
|
||||||
|
COPY 000-default.conf /api-rest/000-default.conf
|
||||||
|
COPY start-apache /usr/local/bin
|
||||||
|
RUN chmod 755 start-apache
|
||||||
|
RUN a2enmod rewrite
|
||||||
|
|
||||||
|
# Copy application source
|
||||||
COPY api-rest /var/www/
|
COPY api-rest /var/www/
|
||||||
|
RUN chown -R www-data:www-data /var/www
|
||||||
|
|
||||||
|
CMD ["start-apache"]
|
Loading…
Reference in new issue