mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
switch cmd to entrypoint
This commit is contained in:
parent
c42c5f9c27
commit
a0d7e2ad36
@ -15,7 +15,8 @@ COPY ./src/ /work/
|
|||||||
RUN mkdir /out/
|
RUN mkdir /out/
|
||||||
RUN dotnet publish --no-restore --output /out/ --configuration Release
|
RUN dotnet publish --no-restore --output /out/ --configuration Release
|
||||||
|
|
||||||
CMD dotnet run
|
ENTRYPOINT ["dotnet", "run"]
|
||||||
|
|
||||||
###########START NEW IMAGE###########################################
|
###########START NEW IMAGE###########################################
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim as prod
|
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim as prod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user