From b20418b9ef343597c29c0a61383ab4a8ad9f034c Mon Sep 17 00:00:00 2001 From: thisfro Date: Mon, 17 Jan 2022 17:31:47 +0100 Subject: [PATCH] Remove outdated tesing image --- Dockerfile | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 978cc00..0000000 --- a/Dockerfile +++ /dev/null @@ -1,32 +0,0 @@ -FROM php:fpm-bullseye - -# Install prerequisites -RUN apt-get update && apt-get -y install wget git npm curl zip -RUN apt-get install -y libpq-dev \ - && docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ - && docker-php-ext-install pdo pdo_pgsql pgsql - -# Download composer -RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \ - php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && \ - php composer-setup.php && \ - php -r "unlink('composer-setup.php');" - -# Install composer and yarn -RUN npm install --global yarn -RUN wget https://get.symfony.com/cli/installer -O - | bash - -COPY . /var/www/html/app/ - -WORKDIR /var/www/html/app - -# Install stuff -RUN php ../composer.phar update -RUN yarn install && \ - yarn build - -RUN cp .env.staging .env -RUN mkdir -p /var/www/html/app/public/uploads/photos - -# Run Migration and dev-webserver -CMD /root/.symfony/bin/symfony console doctrine:migrations:migrate --no-interaction && /root/.symfony/bin/symfony serve --port=9999 --no-tls \ No newline at end of file