Update Dockerfile

This commit is contained in:
Derek S 2022-01-06 14:00:06 -06:00
parent 4dd564ea03
commit 781a60eee7

View file

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build-env
WORKDIR /lrm
COPY ./ServerProject-DONT-IMPORT-INTO-UNITY/* ./
RUN dotnet publish --runtime ubuntu.20.04-x64 -c Release -o out
RUN dotnet publish --runtime ubuntu.20.04-x64 -c Release -o out --no-self-contained
FROM mcr.microsoft.com/dotnet/aspnet:5.0
WORKDIR /lrm