Mise à jour de 'Dockerfile'
continuous-integration/drone/push Build is failing Details

pull/130/head
Lucas EVARD 2 years ago
parent 7aa281ae21
commit f0bb87593f

@ -1,8 +1,7 @@
FROM php:8.1-apache
RUN apt-get update && apt-get install -y mysql-client
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql
COPY ./Sources/API /var/www/html/
FROM mysql
COPY ./Sources/Data /sql/
RUN cd /sql/
RUN /etc/init.d/mysql start
RUN mysql -u db_user -p db_database > tablewithgeneratedid.sql
Loading…
Cancel
Save