Skip to content

Commit

Permalink
Dockerfile update
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcakir committed Feb 15, 2025
1 parent 880a77d commit c61d01d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# the source within the container
# -----------------------------------------------------------

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build

# Copy solution and source
ARG SOLUTION=Smartstore.sln
Expand All @@ -26,7 +26,7 @@ RUN dotnet publish Smartstore.Web.csproj -c Release -o /app/release/publish \
--no-restore

# Build Docker image
FROM mcr.microsoft.com/dotnet/aspnet:8.0
FROM mcr.microsoft.com/dotnet/aspnet:9.0
EXPOSE 80
EXPOSE 443
ENV ASPNETCORE_URLS="http://+:80;https://+:443"
Expand Down
2 changes: 1 addition & 1 deletion Nano.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# is running Windows containers.
# -----------------------------------------------------------

ARG ASPNET_TAG=8.0-nanoserver-ltsc2022
ARG ASPNET_TAG=9.0-nanoserver-ltsc2022

FROM mcr.microsoft.com/dotnet/aspnet:${ASPNET_TAG}
EXPOSE 80
Expand Down
2 changes: 1 addition & 1 deletion NoBuild.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Creates a Docker image from an existing build artifact
# -----------------------------------------------------------

ARG ASPNET_TAG=8.0
ARG ASPNET_TAG=9.0

FROM mcr.microsoft.com/dotnet/aspnet:${ASPNET_TAG}
EXPOSE 80
Expand Down

0 comments on commit c61d01d

Please sign in to comment.