修改docker-compose文件路径

This commit is contained in:
六翼羊王
2023-05-29 07:48:55 +00:00
parent 47dffad5a7
commit c6b71d2dfe
2 changed files with 26 additions and 6 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
FROM pearadminflask/python3.7-flask:pillow
COPY . /app/
COPY dockerdata/start.sh /app/
COPY dockerdata/gunicorn.conf.py /app/
WORKDIR /app/
@@ -14,4 +15,4 @@ RUN chmod +x start.sh
RUN sed -i 's/MYSQL_HOST = "127.0.0.1"/MYSQL_HOST = "mysql"/' applications/config.py
RUN sed -i 's/REDIS_HOST = "127.0.0.1"/REDIS_HOST = "redis"/' applications/config.py
CMD /bin/sh
CMD /bin/sh