dockersamples / example-voting-app

Example distributed app composed of multiple containers for Docker, Compose, Swarm, and Kubernetes
Apache License 2.0
4.65k stars 10.57k forks source link

ERROR [worker build 7/7] RUN dotnet publish -c release -o /app -a amd64 --self-contained false --no-restor #349

Open Dawo9889 opened 3 months ago

Dawo9889 commented 3 months ago

Hi, i've tried to run this project on my local computer and i got this error: failed to solve: process "/bin/sh -c dotnet publish -c release -o /app -a $TARGETARCH --self-contained false --no-restore" did not complete successfully: exit code: 1

image

Mrxx99 commented 2 months ago

@Dawo9889 adding a .dockerignore to the worker as in my PR #353 fixes this