edwagbb commited on
Commit
0dbb78c
1 Parent(s): aeff743

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -1,15 +1,10 @@
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 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-mysqli 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 -p /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
-
13
 
14
  WORKDIR /var/www/html
15
  EXPOSE 7860
 
1
  FROM alpine:latest
2
 
 
 
 
3
  RUN apk update && apk upgrade && apk add php php-sqlite3 php-curl php-mysqli php-mbstring wget unzip
 
4
  RUN wget -O /typecho.zip https://github.com/typecho/typecho/releases/download/v1.2.1/typecho.zip
5
  RUN mkdir -p /var/www/html && unzip /typecho.zip -d /var/www/html
6
  RUN chmod -R u+rwx,g+rwx,o+rwx /var/www/html/usr
7
+ #COPY config.inc.php /var/www/html/config.inc.php
 
8
 
9
  WORKDIR /var/www/html
10
  EXPOSE 7860