edwagbb commited on
Commit
9ee3d07
·
1 Parent(s): 2252584

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -6,12 +6,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y php7.4 php-sqlite3 php-mys
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
8
  RUN chmod -R u+rwx,g+rwx,o+rwx /var/www
9
- COPY config.inc.php /var/www/html/config.inc.php
10
- WORKDIR /var/www/html
11
 
12
- #COPY index.php /var/www/html
13
 
 
14
  EXPOSE 7860
15
-
16
  CMD ["php", "-S", "0.0.0.0:7860", "-t", "/var/www/html"]
17
 
 
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
8
  RUN chmod -R u+rwx,g+rwx,o+rwx /var/www
9
+ COPY config.inc.php /var/www/html/config.inc.php
 
10
 
 
11
 
12
+ WORKDIR /var/www/html
13
  EXPOSE 7860
 
14
  CMD ["php", "-S", "0.0.0.0:7860", "-t", "/var/www/html"]
15