更新 Dockerfile
BuildImage / build-image (push) Failing after 35s Details

This commit is contained in:
李寻欢 2024-01-15 14:42:17 +08:00
parent 8a88ef2f16
commit d692c05a82
1 changed files with 4 additions and 4 deletions

View File

@ -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