diff --git a/Release/Dockerfile b/Release/Dockerfile new file mode 100644 index 0000000..ff3bb7a --- /dev/null +++ b/Release/Dockerfile @@ -0,0 +1,23 @@ +# Use the official PHP image as the base image +FROM php:7.4-apache + +# Copy the application files into the container +COPY . /var/www/html + +# Set the working directory in the container +WORKDIR /var/www/html + +# Install necessary PHP extensions +RUN apt-get update && apt-get install -y \ + libicu-dev \ + libzip-dev \ + && docker-php-ext-install \ + intl \ + zip \ + && a2enmod rewrite + +# Expose port 80 +EXPOSE 80 + +# Define the entry point for the container +CMD ["apache2-foreground"] \ No newline at end of file