diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index bf5d3ae..cd2feb2 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -13,8 +13,8 @@ jobs: - name: Build Docker image run: | + docker build -t testimage:latest . docker run --rm testimage:latest - # docker build -t testimage:latest . # The 'run:' keyword executes shell commands - name: Run tests (example) diff --git a/.gitignore b/.gitignore index bc78471..0851813 100644 --- a/.gitignore +++ b/.gitignore @@ -482,3 +482,5 @@ $RECYCLE.BIN/ # Vim temporary swap files *.swp + +published diff --git a/Dockerfile b/Dockerfile index 6bdeea2..2cae0e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ RUN dotnet publish -c Release -o published FROM mcr.microsoft.com/dotnet/aspnet:10.0 WORKDIR /app COPY --from=build /app/published . -CMD ["dotnet", "Program.dll"] +CMD ["dotnet", "pipelines-experiment.dll"]