set build policy to docker compose

This commit is contained in:
Marco Realacci 2024-01-19 19:18:00 +01:00
parent ffa004f20c
commit 92d544f18e
2 changed files with 2 additions and 1 deletions

View file

@ -14,4 +14,4 @@ WORKDIR /App
COPY --from=build-env /App/out .
# Copy all the static data (questions, motd)
COPY ./Data /data
ENTRYPOINT ["dotnet", "HomeBot.dll"]
ENTRYPOINT ["dotnet", "SoUnBot.dll"]

View file

@ -10,6 +10,7 @@ services:
# change to your local DNS zone (can be safely removed if not needed)
# for example: in the production server is pve-docer.net.mrlc.cc
domainname: ${DNS_ZONE}
pull_policy: build
environment:
# Leave /data unless you want to point to an external volume
- DATA_PATH=/data