Update Dockerfile

This commit is contained in:
Derek S 2022-01-06 14:06:37 -06:00
parent b39d1986de
commit 2e727db7c9

View file

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