mirror of
https://github.com/AIDotNet/AntSK.git
synced 2026-02-17 14:06:11 +08:00
fix 修改docker file
This commit is contained in:
@@ -7,7 +7,7 @@ COPY ["src/AntSK/AntSK.csproj", "AntSK/"]
|
|||||||
RUN dotnet restore "AntSK/AntSK.csproj"
|
RUN dotnet restore "AntSK/AntSK.csproj"
|
||||||
|
|
||||||
# Copy everything else and build
|
# Copy everything else and build
|
||||||
COPY . .
|
COPY src/ .
|
||||||
WORKDIR "/src/AntSK"
|
WORKDIR "/src/AntSK"
|
||||||
RUN dotnet build "AntSK.csproj" -c Release -o /app/build
|
RUN dotnet build "AntSK.csproj" -c Release -o /app/build
|
||||||
RUN dotnet publish "AntSK.csproj" -c Release -o /app/publish
|
RUN dotnet publish "AntSK.csproj" -c Release -o /app/publish
|
||||||
|
|||||||
Reference in New Issue
Block a user