memarino92
memarino92
RRailway
Created by memarino92 on 8/5/2024 in #✋|help
dotnet
Attempting to build dotnet apps fails at dotnet restore step. Tried with two brand-new projects, minimal APIs in F# and C#, nothing fancy. Previously building and deploying single-project repos was a breeze - would love to not have to manually add a dockerfile. Targeting the .NET 8 runtime - project created with dotnet new web, spun it up locally to make sure it worked, pushed to github and tried to deploy. Projects: 9687eb42-691c-430b-962b-9129b1705d22 0301d141-a811-4b07-9474-a46be8801627
Dockerfile:19
-------------------
17 | # install phase
18 | COPY . /app/.
19 | >>> RUN dotnet restore
20 |
21 | # build phase
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c dotnet restore" did not complete successfully: exit code: 1

Error: Docker build failed
Dockerfile:19
-------------------
17 | # install phase
18 | COPY . /app/.
19 | >>> RUN dotnet restore
20 |
21 | # build phase
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c dotnet restore" did not complete successfully: exit code: 1

Error: Docker build failed
24 replies
RRailway
Created by memarino92 on 8/2/2023 in #✋|help
No option to create a docker image-based service. Not in command palate and no "Connect Image" btn.
7 replies