edwagbb commited on
Commit
41de120
·
1 Parent(s): 22140be

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -2,11 +2,11 @@ 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 echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update && apk upgrade
6
- RUN apk add php php-sqlite3 php-curl php-mbstring wget unzip
7
 
8
  RUN wget -O /typecho.zip https://github.com/typecho/typecho/releases/download/v1.2.1/typecho.zip
9
- RUN unzip /typecho.zip -d /var/www/html
10
  RUN chmod -R u+rwx,g+rwx,o+rwx /var/www/html/usr
11
  COPY config.inc.php /var/www/html/config.inc.php
12
 
 
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 echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
6
+ RUN apk update && apk upgrade && apk add php php-sqlite3 php-curl php-mbstring wget unzip
7
 
8
  RUN wget -O /typecho.zip https://github.com/typecho/typecho/releases/download/v1.2.1/typecho.zip
9
+ RUN mkdir /var/www/html && unzip /typecho.zip -d /var/www/html
10
  RUN chmod -R u+rwx,g+rwx,o+rwx /var/www/html/usr
11
  COPY config.inc.php /var/www/html/config.inc.php
12