summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2024-08-26 13:51:05 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2024-08-26 13:51:05 +0300
commitc7e27eb6c65d998427499f834f8542b2f463c223 (patch)
tree06793e25533f21b270a451fc7c794dbce1c4780e /Dockerfile
parenta35934439582215f7a726014e954f08692ad910c (diff)
Change build image
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index dc5a24b..2f41d95 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,6 @@
-FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
WORKDIR /source
COPY . .
-RUN dotnet restore
RUN dotnet publish --property:OutputPath=/app
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine