Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
knightofdemons committed Dec 4, 2023
1 parent f48a0b5 commit c142eb6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Release/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit c142eb6

Please sign in to comment.