edwagbb commited on
Commit
a16c13a
·
1 Parent(s): 6f3e083

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,7 +1,8 @@
1
- FROM ubuntu:22.04
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