up
This commit is contained in:
12
ops/sm-remote/Dockerfile
Normal file
12
ops/sm-remote/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# Simulated SM2 remote microservice (software-only)
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN dotnet publish src/SmRemote/StellaOps.SmRemote.Service/StellaOps.SmRemote.Service.csproj -c Release -o /app/publish
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/publish .
|
||||
ENV ASPNETCORE_URLS=http://0.0.0.0:56080
|
||||
ENV SM_SOFT_ALLOWED=1
|
||||
ENTRYPOINT ["dotnet", "StellaOps.SmRemote.Service.dll"]
|
||||
Reference in New Issue
Block a user