fix: 修正Dockerfile下载路径错误

修复init_env.sh脚本中Dockerfile下载路径错误的问题,将重复的Dockerfile下载改为分别下载Dockerfile.php和Dockerfile.postgres文件
This commit is contained in:
Kenny Yang committed 2025-05-29 01:59:29 +08:00
1 parent d8ebdc5ca0
commit 711d02f2da
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -79,7 +79,7 @@ sed -i "s/appendonly no/appendonly yes/g" /home/app/redis/conf/redis.conf
# 下载Docker Compose文件和Dockerfile
wget -O /home/app/docker-compose.yml https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/docker-compose.yml
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.php
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.postgres
wget -O /home/app/Dockerfile.php https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.php
wget -O /home/app/Dockerfile.postgres https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.postgres
echo "Initialization script completed successfully."
+2 -2
View File
@@ -57,7 +57,7 @@ sed -i "s/appendonly no/appendonly yes/g" /home/app/redis/conf/redis.conf
# 下载Docker Compose文件和Dockerfile
wget -O /home/app/docker-compose.yml https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/docker-compose.yml
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.php
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.postgres
wget -O /home/app/Dockerfile.php https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.php
wget -O /home/app/Dockerfile.postgres https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.postgres
echo "Initialization script completed successfully."