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

pull/130/head
Lucas EVARD 2 years ago
parent 7f5bbb06ba
commit 6a9fa57b7f

@ -1,6 +1,8 @@
FROM php:8.1-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql
COPY ./Sources/API /var/www/html/
COPY ./Sources/Data /sql/
FROM mysql
RUN mysql -u db_user -p db_database > /sql/tablewithgeneratedid.sql
COPY ./Sources/Data /sql/
RUN ls -a /sql/
RUN cd /sql/
RUN mysql -u db_user -p db_database > tablewithgeneratedid.sql
Loading…
Cancel
Save