diff --git a/Dockerfile b/Dockerfile index e1d55ba..9c1803e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY . ./ # Restore as distinct layers RUN dotnet restore # Load build argument with publish options -ARG PUBLISH_OPTIONS=-c Release +ARG PUBLISH_OPTIONS="-c Release" # Build and publish a release RUN dotnet publish ./TeamOctolings.Octobot.csproj $PUBLISH_OPTIONS -o out diff --git a/compose.yaml b/compose.yaml index 1f54508..e4a40d1 100644 --- a/compose.yaml +++ b/compose.yaml @@ -21,3 +21,4 @@ services: network_mode: service:wireguard depends_on: - wireguard + restart: unless-stopped