Mise à jour de 'api-rest/Dockerfile'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
63422d043a
commit
244eb94eb0
@ -1,10 +1,10 @@
|
|||||||
FROM php:8.0-apache
|
FROM php:8.0-apache
|
||||||
|
|
||||||
CMD ["cp", "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
|
||||||
|
|
||||||
# Copy application source
|
# Copy application source
|
||||||
COPY api-rest/* /var/www/html/
|
CMD ["cp", "api-rest/*", "/var/www/html/"]
|
||||||
RUN chown -R www-data:www-data /var/www/html
|
RUN chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
CMD ["start-apache"]
|
CMD ["start-apache"]
|
Loading…
Reference in new issue