I'm trying to create my first deploy on app engine, but when I run on 
google cloud cli:
"gcloud app deploy app.yml"
He ran the build but on the final is giving an error:

"
Updating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred 
while creating a Google Cloud Storage bucket.
"

I defined a custom runtime with my app.yml:
"
runtime: custom
env: flex
"

"
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src
COPY ["-/-.csproj", "-/"]
COPY ["-.Core/-.Core.csproj", "-.Core/"]
RUN dotnet restore "-/-.csproj"
COPY . .
WORKDIR "/src/-"
RUN dotnet build "-.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "-.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
EXPOSE 8080
ENV ASPNETCORE_URLS=http://*:8080
ENTRYPOINT ["dotnet", "-.dll"]

"

Someone had the same issue ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/83bd56e5-ca81-4644-982b-a1b2ab32c4f2o%40googlegroups.com.
  • [google-appengine]... Nicolas Bontempo

Reply via email to