|
|
@ -2,4 +2,5 @@ FROM php:8.1-apache
|
|
|
|
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql
|
|
|
|
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql
|
|
|
|
COPY ./Sources/API /var/www/html/
|
|
|
|
COPY ./Sources/API /var/www/html/
|
|
|
|
COPY ./Sources/Data /sql/
|
|
|
|
COPY ./Sources/Data /sql/
|
|
|
|
RUN mysql -u db_user -p db_database > sql/tablewithgeneratedid.sql
|
|
|
|
RUN cd /sql
|
|
|
|
|
|
|
|
RUN mysql -u db_user -p db_database > tablewithgeneratedid.sql
|