chore: move docker file up one directory
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS base
|
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY *.csproj ./
|
COPY ./StevesBot.Worker/StevesBot.Worker.csproj ./
|
||||||
COPY ../Directory.Build.props ./
|
COPY ./Directory.Build.props ./
|
||||||
RUN dotnet restore
|
RUN dotnet restore
|
||||||
COPY . .
|
COPY ./StevesBot.Worker/. ./
|
||||||
|
|
||||||
FROM base AS publish-stage
|
FROM base AS publish-stage
|
||||||
RUN dotnet publish -c Release -o dist
|
RUN dotnet publish -c Release -o dist
|
||||||
Reference in New Issue
Block a user