Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Update Dockerfile

support7a4356ec1dc5
diff --git a/Dockerfile b/Dockerfile
index 349faaaf7..a276de7e9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,8 +37,9 @@ RUN dotnet publish /app/Web/Grand.Web --no-restore -c Release -o ./build/release
# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:8.0
-EXPOSE 80
-ENV ASPNETCORE_URLS http://+:80
+EXPOSE 8080
+EXPOSE 8081
+
WORKDIR /app
COPY --from=build-env /app/build/release .
ENTRYPOINT ["dotnet", "Grand.Web.dll"]
\ No newline at end of file