We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i create docker image and publish to docker hub
in my local host it was working by running .net command
but in QNAP i got segmnetation error
FROM mcr.microsoft.com/dotnet/sdk:2.1.811-stretch AS build-env WORKDIR /app
COPY *.csproj ./ RUN dotnet restore
COPY . ./ RUN dotnet publish -c Release -o out -r linux-arm --self-contained false
FROM mcr.microsoft.com/dotnet/aspnet:2.1.23-stretch-slim-arm32v7 WORKDIR /app COPY --from=build-env /app/out .
CMD bash ENTRYPOINT ["dotnet", "HMRs.dll"]
The text was updated successfully, but these errors were encountered:
@remyagrai sorry I missed your message, given that is almost a year I guess it is too late to try to help
Sorry, something went wrong.
No branches or pull requests
i create docker image and publish to docker hub
in my local host it was working by running .net command
but in QNAP i got segmnetation error
FROM mcr.microsoft.com/dotnet/sdk:2.1.811-stretch AS build-env
WORKDIR /app
Copy csproj and restore as distinct layers
COPY *.csproj ./
RUN dotnet restore
Copy everything else and build
COPY . ./
RUN dotnet publish -c Release -o out -r linux-arm --self-contained false
Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:2.1.23-stretch-slim-arm32v7
WORKDIR /app
COPY --from=build-env /app/out .
CMD bash
ENTRYPOINT ["dotnet", "HMRs.dll"]
The text was updated successfully, but these errors were encountered: