Mise à jour de 'api-rest/Dockerfile'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
dffeee4d4b
commit
351eb6afd6
@ -1,11 +1,10 @@
|
|||||||
FROM php:8.0-apache
|
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
|
||||||
CMD ["ls", "-l", "/usr/local/bin/start-apache"]
|
|
||||||
|
|
||||||
# Copy application source
|
# Copy application source
|
||||||
COPY api-rest/* /var/www/html/
|
COPY 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