omnibox / Dockerfile
wangdang's picture
Update Dockerfile
7a2acb5 verified
raw
history blame contribute delete
241 Bytes
FROM lampon/omnibox:latest
# 改成 apt-get 安装 socat
RUN apt-get update && apt-get install -y socat && rm -rf /var/lib/apt/lists/*
WORKDIR /app
EXPOSE 7860
CMD sh -c "./main & sleep 5 && socat TCP-LISTEN:7860,fork TCP:127.0.0.1:7023"