Skip to content

Commit d8b193f

Browse files
authored
Update Dockerfile
1 parent 1fdbf49 commit d8b193f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

backend/src/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
2-
3-
# This stage is used when running from VS in fast mode (Default for Debug configuration)
41
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
52
WORKDIR /app
63
EXPOSE 8000
@@ -9,7 +6,6 @@ RUN groupadd -g 2000 dotnet \
96
&& useradd -m -u 2000 -g 2000 dotnet
107
USER dotnet
118

12-
139
# This stage is used to build the service project
1410
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
1511
ARG BUILD_CONFIGURATION=Release
@@ -38,4 +34,4 @@ FROM base AS final
3834
WORKDIR /app
3935
# COPY --from=publish /app/publish/Contact.Api.dll .
4036
COPY --from=publish /app/publish .
41-
ENTRYPOINT ["dotnet", "Contact.Api.dll"]
37+
ENTRYPOINT ["dotnet", "Contact.Api.dll"]

0 commit comments

Comments
 (0)