1
0

Compare commits

..

No commits in common. "a9c9a7779bccead0f9aebefe7c04461019002f9b" and "bcf72d68b94fce1f60f90a4921bf8be72c661848" have entirely different histories.

4 changed files with 1 additions and 55 deletions

View File

@ -1,16 +0,0 @@
kind: pipeline
type: exec
name: backend
steps:
- name: build
commands:
- docker-compose build
- name: publish
commands:
- docker-compose up -d
trigger:
branch:
- master

View File

@ -1,17 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32901.215
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Budet-cho-bot", "Budet-cho-bot\Budet-cho-bot.csproj", "{9BF9C0C5-C025-425B-AB1C-6153C3827A76}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EB4C3182-A0DD-4386-8E3B-4DEE4A72F3E4}"
ProjectSection(SolutionItems) = preProject
.drone.yml = .drone.yml
.gitignore = .gitignore
Config.json = Config.json
docker-compose.yml = docker-compose.yml
EndProjectSection
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Budet-cho-bot", "Budet-cho-bot\Budet-cho-bot.csproj", "{9BF9C0C5-C025-425B-AB1C-6153C3827A76}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -24,10 +13,4 @@ Global
{9BF9C0C5-C025-425B-AB1C-6153C3827A76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9BF9C0C5-C025-425B-AB1C-6153C3827A76}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E871DB37-3CF2-4EE2-AC63-3288B409205C}
EndGlobalSection
EndGlobal

View File

@ -1,12 +0,0 @@
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
FROM mcr.microsoft.com/dotnet/aspnet:7.0 as final
WORKDIR /app
COPY --from=build /app/publish .
ENTRYPOINT ["dotnet", "Budet-cho-bot.dll", "--environment=Development"]

View File

@ -1,9 +0,0 @@
version: '3.4'
services:
bot:
image: bot
container_name: bot
build:
context: ./
dockerfile: Budet-cho-bot/Dockerfile