diff --git a/Dockerfile b/Dockerfile index 04932708..343d4d96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apt update && \ apt upgrade -y && \ apt install -y --no-install-recommends \ gcc \ - g++ &&\ + g++ && \ apt clean RUN pip install poetry -i https://mirrors.aliyun.com/pypi/simple/ @@ -21,6 +21,8 @@ VOLUME /app/zhenxun/data /app/zhenxun/data VOLUME /app/zhenxun/resources /app/zhenxun/resources +VOLUME /app/zhenxun/.env.dev /app/zhenxun/.env.dev + RUN poetry run playwright install --with-deps chromium CMD ["poetry", "run", "python", "bot.py"]