Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
-
RUN apt-get update
|
| 4 |
-
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y php7.4 php-sqlite3 php-mysql php-curl php-mbstring wget unzip
|
|
|
|
| 5 |
|
| 6 |
RUN wget -O /typecho.zip https://github.com/typecho/typecho/releases/download/v1.2.1/typecho.zip
|
| 7 |
RUN unzip /typecho.zip -d /var/www/html
|
|
|
|
| 1 |
+
FROM alpine:latest
|
| 2 |
|
| 3 |
+
#RUN apt-get update
|
| 4 |
+
#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y php7.4 php-sqlite3 php-mysql php-curl php-mbstring wget unzip
|
| 5 |
+
RUN apk add php7.4 php-sqlite3 php-mysql php-curl php-mbstring wget unzip
|
| 6 |
|
| 7 |
RUN wget -O /typecho.zip https://github.com/typecho/typecho/releases/download/v1.2.1/typecho.zip
|
| 8 |
RUN unzip /typecho.zip -d /var/www/html
|