Browse Source

fix: docker build server

tags/0.1.0
TCL 2 years ago
parent
commit
5b4d8c8ca5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dependency/Dockerfile/Dockerfile_run

+ 2
- 2
dependency/Dockerfile/Dockerfile_run View File

@@ -2,12 +2,12 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0.408-jammy-amd64 AS build
MAINTAINER eesast
WORKDIR /usr/local
COPY . .
RUN dotnet publish logic/Server/Server.csproj -c Release -o /usr/local/Server
RUN dotnet publish logic/Server/Server.csproj -c Release -o /usr/local/Server --self-contained true

FROM eesast/thuai6_base:base
MAINTAINER eesast
WORKDIR /usr/local
COPY --from=build /usr/local/Server .
COPY --from=build /usr/local/Server/* .
RUN mkdir /usr/local/team1 && mkdir /usr/local/team2 && mkdir /usr/local/playback
COPY ./dependency/shell/run.sh .
COPY ./CAPI/python /usr/local/PlayerCode/CAPI/python


Loading…
Cancel
Save