-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8189970
commit 71b9cec
Showing
45 changed files
with
676 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Gunakan container PHP dan Apache dengan versi 8.1.30 | ||
FROM php:8.1.30-apache | ||
|
||
# Instal dependensi sistem dan ekstensi PHP | ||
# gd: Memerlukan libpng-dev, libjpeg-dev, libfreetype6-dev | ||
# tidy: Memerlukan libzip-dev, libtidy-dev | ||
# zip: Memerlukan libzip-dev | ||
RUN apt-get update && apt-get install -y \ | ||
libpng-dev \ | ||
libjpeg-dev \ | ||
libfreetype6-dev \ | ||
libzip-dev \ | ||
libtidy-dev \ | ||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ | ||
&& docker-php-ext-install -j$(nproc) \ | ||
gd \ | ||
exif \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
tidy \ | ||
zip | ||
|
||
# Mengatur direktori kerja | ||
WORKDIR /var/www/html | ||
|
||
# Mengekspos port 80 untuk Apache | ||
EXPOSE 80 | ||
|
||
# Start Apache | ||
CMD ["apache2-foreground"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.