forked from eesast/THUAI7
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request eesast#285 from ONLOX/dev
Installer v1.0.1.0
- Loading branch information
Showing
10 changed files
with
236 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0.204-jammy-amd64 AS build | ||
MAINTAINER eesast | ||
WORKDIR /usr/local | ||
COPY . . | ||
RUN dotnet publish logic/Server/Server.csproj -c Release -o /usr/local/Server --self-contained true -r linux-x64 | ||
|
||
FROM eesast/thuai7_base:base | ||
MAINTAINER eesast | ||
WORKDIR /usr/local | ||
COPY --from=build /usr/local/Server . | ||
RUN mkdir /usr/local/team1 && mkdir /usr/local/team2 && mkdir /usr/local/playback | ||
<<<<<<<< HEAD:dependency/Dockerfile/Docker_run_client | ||
COPY ./dependency/shell/run_client.sh . | ||
======== | ||
COPY ./dependency/shell/run_server.sh . | ||
>>>>>>>> 218cff729c2110699b9e40a0d97a740f58e75462:dependency/Dockerfile/Dockerfile_run_server | ||
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 bash ../../dependency/shell/generate_proto.sh | ||
|
||
WORKDIR /usr/local | ||
<<<<<<<< HEAD:dependency/Dockerfile/Docker_run_client | ||
ENTRYPOINT [ "bash","./run_client.sh" ] | ||
======== | ||
RUN export TERMINAL=SERVER | ||
ENTRYPOINT [ "bash","./run.sh" ] | ||
>>>>>>>> 218cff729c2110699b9e40a0d97a740f58e75462:dependency/Dockerfile/Dockerfile_run_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0.204-jammy-amd64 AS build | ||
MAINTAINER eesast | ||
WORKDIR /usr/local | ||
COPY . . | ||
RUN dotnet publish logic/Server/Server.csproj -c Release -o /usr/local/Server --self-contained true -r linux-x64 | ||
|
||
FROM eesast/thuai7_base:base | ||
MAINTAINER eesast | ||
WORKDIR /usr/local | ||
COPY --from=build /usr/local/Server . | ||
RUN mkdir /usr/local/team1 && mkdir /usr/local/team2 && mkdir /usr/local/playback | ||
COPY ./dependency/shell/run_server.sh . | ||
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 bash ../../dependency/shell/generate_proto.sh | ||
|
||
WORKDIR /usr/local | ||
ENTRYPOINT [ "bash","./run_server.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.