Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 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 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
|
| 8 |
-
|
| 9 |
WORKDIR /var/www/html
|
| 10 |
|
| 11 |
#COPY index.php /var/www/html
|
|
|
|
| 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
|
| 8 |
+
RUN chmod -R u+rwx,g+rwx,o+rwx /var/www/html/usr/uploads
|
| 9 |
WORKDIR /var/www/html
|
| 10 |
|
| 11 |
#COPY index.php /var/www/html
|