Last active
November 17, 2023 13:41
-
-
Save radityopw/1be9002a28640ed6ead240017c41dfbc to your computer and use it in GitHub Desktop.
Dockerfile Alpine-3.18 dan PHP-8.1 min edition
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
FROM alpine:3.18 | |
LABEL author="Radityo P W (radityo.p.w@gmail.com)" | |
RUN apk update | |
RUN apk add apache2 nano | |
RUN apk add php81 php81-apache2 php81-common php81-curl php81-mysqli php81-sqlite3 php81-ffi | |
RUN rm -rf /var/cache/apk/* | |
EXPOSE 80 | |
CMD ["httpd", "-D", "FOREGROUND"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment