Browse Source

fix: docker build on linux

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

+ 1
- 1
dependency/Dockerfile/Dockerfile_run View File

@@ -2,7 +2,7 @@ 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 --self-contained true
RUN dotnet publish logic/Server/Server.csproj -c Release -o /usr/local/Server --self-contained true -r linux-x64

FROM eesast/thuai6_base:base
MAINTAINER eesast


Loading…
Cancel
Save