From d692c05a82a893b06b0236decd27aac832b9f529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Mon, 15 Jan 2024 14:42:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 03e9436..29e1d14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,18 +8,18 @@ WORKDIR /home/app/.wine/drive_c # 加载注入器 ADD https://github.com/furacas/DllInjector/releases/download/v1.4.0/DllInjector64.exe DllInjector.exe -RUN sudo chown app:app DllInjector.exe +RUN sudo chown app:app DllInjector.exe && sudo chmod a+x DllInjector.exe # 下载微信 ADD ${WECHAT_URL} WeChatSetup.exe +RUN sudo chown app:app WeChatSetup.exe && sudo chmod a+x WeChatSetup.exe +RUN ls -lah # 安装微信 COPY install-wechat.sh install-wechat.sh -RUN ls -lah - RUN bash -c 'nohup /entrypoint.sh 2>&1 &' && sleep 10 RUN sudo apt install -y net-tools -RUN sudo chown app:app WeChatSetup.exe && ./install-wechat.sh +RUN ./install-wechat.sh RUN rm -rf WeChatSetup.exe && rm -rf install-wechat.sh # 下载wxhelper.dll