- 删除清理缓存的命令以优化Docker构建过程。
This commit is contained in:
@@ -9,8 +9,6 @@ WORKDIR /app
|
|||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=lib /src/wcocr/build/libwcocr.so .
|
COPY --from=lib /src/wcocr/build/libwcocr.so .
|
||||||
RUN aur-install bun-bin wechat-bin && \
|
RUN aur-install bun-bin wechat-bin && \
|
||||||
pacman -Scc --noconfirm && rm -rf /var/cache/pacman/pkg/* && \
|
|
||||||
yay -Scc --noconfirm && rm -rf /root/.cache/yay/* && \
|
|
||||||
bun install --frozen-lockfile
|
bun install --frozen-lockfile
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user