Compare commits
2 Commits
a9c9a7779b
...
766097d9f6
| Author | SHA1 | Date | |
|---|---|---|---|
| 766097d9f6 | |||
| c6c9688708 |
@ -1,10 +1,11 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./Budet-cho-bot ./Budet-cho-bot
|
||||
|
||||
RUN dotnet restore Budet-cho-bot/Budet-cho-bot.fsproj
|
||||
RUN dotnet publish Budet-cho-bot/Budet-cho-bot.fsproj -c Production -o /app/publish
|
||||
COPY ["/Budet-cho-bot", "Budet-cho-bot"]
|
||||
COPY ["/Config.json", "Config.json"]
|
||||
RUN ls
|
||||
RUN dotnet restore "Budet-cho-bot/Budet-cho-bot.fsproj"
|
||||
RUN dotnet publish "Budet-cho-bot/Budet-cho-bot.fsproj" -c Production -o /app/publish
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:7.0 as final
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user