This commit is contained in:
Madpeterz 2021-02-14 01:59:15 +00:00
parent 379ab68d10
commit 8552bd13c4
4 changed files with 5 additions and 8 deletions

6
.gitignore vendored
View file

@ -4,7 +4,6 @@ compile.bat
*.suo *.suo
*.cache *.cache
*.pfx *.pfx
[Oo]bj/ [Oo]bj/
[Bb]in/ [Bb]in/
packages/ packages/
@ -16,9 +15,4 @@ LICENSE.txt
mapgen.bat mapgen.bat
PrimMesher/ PrimMesher/
Programs/ Programs/
BetterSecondBot/publish
Publish/
secondbotr5.json
CLI/settings.env
CLI/Dockerfile
libremetaverse-core/.gitignore libremetaverse-core/.gitignore

View file

@ -21,6 +21,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BetterSecondbot", "Secondbo
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project Items", "Project Items", "{C343303B-F9BF-46B3-BBB5-5596823EC71C}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project Items", "Project Items", "{C343303B-F9BF-46B3-BBB5-5596823EC71C}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
Dockerfile = Dockerfile Dockerfile = Dockerfile
NuGet.Config = NuGet.Config NuGet.Config = NuGet.Config
README.md = README.md README.md = README.md

View file

@ -22,6 +22,7 @@ RUN dotnet publish "BetterSecondbot.csproj" -c Release -o /app/publish
FROM base AS final FROM base AS final
WORKDIR /app WORKDIR /app
COPY --from=publish /app/publish . COPY --from=publish /app/publish .
# --- Update your settings --- # --- Update your settings ---
ENV Basic_BotUserName='' ENV Basic_BotUserName=''
@ -69,4 +70,4 @@ ENV ASPNETCORE_URLS http://+:80
# --- End of settings --- # --- End of settings ---
ENTRYPOINT ["/app/BetterSecondBot"] ENTRYPOINT ["/app/BetterSecondBot"]

View file

@ -22,6 +22,7 @@ RUN dotnet publish "BetterSecondbot.csproj" -c Release -o /app/publish
FROM base AS final FROM base AS final
WORKDIR /app WORKDIR /app
COPY --from=publish /app/publish . COPY --from=publish /app/publish .
# --- Update your settings --- # --- Update your settings ---
ENV Basic_BotUserName='' ENV Basic_BotUserName=''
@ -69,4 +70,4 @@ ENV ASPNETCORE_URLS http://+:80
# --- End of settings --- # --- End of settings ---
ENTRYPOINT ["/app/BetterSecondBot"] ENTRYPOINT ["/app/BetterSecondBot"]