I build successfully with dockerfile, but when I try to run a new container from the build image, I get the following error:
What do i have to do for the solution?
Error : /bin/sh: 1: [dotnet,: not found
docker run command:
docker run --rm -it -p 8080:80 furkaandogan/myapp:0.1
Dockerfile:
FROM microsoft/aspnetcore:1.1
ARG source
WORKDIR /app
ENV ASPNETCORE_URLS http://*:80
EXPOSE 80
COPY ./publish/myapp .
ENTRYPOINT ["dotnet", "myapp.dll"]