Chore: Change dockerfile

This commit is contained in:
sendssf 2023-04-23 22:35:41 +08:00
parent ecfadac872
commit 9e64340477
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ COPY ./CAPI/cpp /usr/local/PlayerCode/CAPI/cpp
COPY ./dependency/proto /usr/local/PlayerCode/dependency/proto
COPY ./dependency/shell /usr/local/PlayerCode/dependency/shell
WORKDIR /usr/local/PlayerCode/dependency/proto
RUN ../shell/cpp_output.sh
RUN bash ../shell/cpp_output.sh
WORKDIR /usr/local/PlayerCode/CAPI/cpp
COPY ./dependency/shell/compile.sh .
COPY ./dependency/shell/docker.sh /usr/local/

View File

@ -10,7 +10,7 @@ COPY ./CAPI/python /usr/local/PlayerCode/CAPI/python
COPY ./dependency/proto /usr/local/PlayerCode/dependency/proto
COPY ./dependency/shell /usr/local/PlayerCode/dependency/shell
WORKDIR /usr/local/PlayerCode/CAPI/python
RUN ../../dependency/shell/generate_proto.sh
RUN bash ../../dependency/shell/generate_proto.sh
WORKDIR /usr/local
RUN wget -P . https://cloud.tsinghua.edu.cn/f/e48940314a6d4cdb8bd0/?dl=1