modify landing page
This commit is contained in:
commit
dd232b1c02
2599 files changed
+226992
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# Dockerfile สำหรับ Joomla โดยใช้ Nginx
|
||||
FROM ubuntu:20.04
|
||||
|
||||
# ติดตั้ง Nginx และ PHP
|
||||
RUN apt-get update && \
|
||||
apt-get install -y nginx php-fpm php-pgsql wget curl
|
||||
|
||||
# ติดตั้ง Joomla
|
||||
RUN wget https://downloads.joomla.org/latest/stable?format=tar.gz -O joomla.tar.gz && \
|
||||
tar -xvzf joomla.tar.gz -C /var/www/html --strip-components=1
|
||||
|
||||
# คัดลอกไฟล์การตั้งค่า Nginx
|
||||
COPY ./nginx/joomla.conf /etc/nginx/sites-available/default
|
||||
|
||||
# เปิดการใช้งาน Nginx และ PHP-FPM
|
||||
CMD service php7.4-fpm start && nginx -g 'daemon off;'
|
||||
|
||||
EXPOSE 80
|
||||
Reference in new issue
Block a user