This commit is contained in:
@@ -13,8 +13,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
|
docker build -t testimage:latest .
|
||||||
docker run --rm testimage:latest
|
docker run --rm testimage:latest
|
||||||
# docker build -t testimage:latest .
|
|
||||||
# The 'run:' keyword executes shell commands
|
# The 'run:' keyword executes shell commands
|
||||||
|
|
||||||
- name: Run tests (example)
|
- name: Run tests (example)
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -482,3 +482,5 @@ $RECYCLE.BIN/
|
|||||||
|
|
||||||
# Vim temporary swap files
|
# Vim temporary swap files
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
|
published
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ RUN dotnet publish -c Release -o published
|
|||||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/published .
|
COPY --from=build /app/published .
|
||||||
CMD ["dotnet", "Program.dll"]
|
CMD ["dotnet", "pipelines-experiment.dll"]
|
||||||
|
|||||||
Reference in New Issue
Block a user