diff --git a/PARR.TemplateTaskGeneratorWorker/Dockerfile b/PARR.TemplateTaskGeneratorWorker/Dockerfile index bf89691f..7c54a6c4 100644 --- a/PARR.TemplateTaskGeneratorWorker/Dockerfile +++ b/PARR.TemplateTaskGeneratorWorker/Dockerfile @@ -24,6 +24,7 @@ RUN dotnet build "./PARR.TemplateTaskGeneratorWorker.csproj" -c $BUILD_CONFIGURA # This stage is used to publish the service project to be copied to the final stage FROM build AS publish ARG BUILD_CONFIGURATION=Release +ARG app_version=0.0.0-default RUN dotnet publish "./PARR.TemplateTaskGeneratorWorker.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false /p:Version=$app_version # This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)