Skip to content
New issue

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

QNAP Issue #4

Open
remyagrai opened this issue Nov 22, 2020 · 1 comment
Open

QNAP Issue #4

remyagrai opened this issue Nov 22, 2020 · 1 comment

Comments

@remyagrai
Copy link

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"]

@norcino
Copy link
Owner

norcino commented Oct 15, 2021

@remyagrai sorry I missed your message, given that is almost a year I guess it is too late to try to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants