mirror of
https://github.com/SoDOff-Project/sodoff-mmo.git
synced 2025-10-11 16:28:50 -07:00
restore `Dockerfile
` back to original
This commit is contained in:
parent
15d21a7aa5
commit
7b9e3fc694
@ -1,11 +1,11 @@
|
|||||||
# Use the official .NET SDK image for building the application
|
# Use the official .NET SDK image for building the application
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:6.0
|
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
# Copy the source code
|
# Copy the source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Restore Project
|
# Restore dependencies and build the application
|
||||||
RUN dotnet build -c Release -o /app
|
RUN dotnet build -c Release -o /app
|
||||||
|
|
||||||
# Create clean run environment (without source and sdk)
|
# Create clean run environment (without source and sdk)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user