diff --git a/Sources/db_script/Dockerfile b/Sources/db_script/Dockerfile index 87cc645..4ddc946 100644 --- a/Sources/db_script/Dockerfile +++ b/Sources/db_script/Dockerfile @@ -1,4 +1,5 @@ FROM mcr.microsoft.com/mssql/server:2022-latest +USER root RUN apt-get update && apt-get upgrade -y -COPY ./sql /var/www/html +COPY ./sql /var/lib/mysql CMD ./sql/create.sql \ No newline at end of file diff --git a/Sources/php_script/Dockerfile b/Sources/php_script/Dockerfile index aa601a1..31a3d12 100644 --- a/Sources/php_script/Dockerfile +++ b/Sources/php_script/Dockerfile @@ -1,4 +1,4 @@ FROM php:8.1-apache -RUN apt-get update && apt-get upgrade -y +RUN apt-get update && apt-get upgrade -y RUN docker-php-ext-install mysqli COPY ./script /var/www/html