Category : google-cloud-run

#change ownership of our applications RUN chown -R www-data:www-data /var/www/html/storage RUN chown -R www-data:www-data /var/www/html RUN chown -R www-data:www-data /var/www/html/bootstrap/cache RUN chmod -R 755 /var/www/html/storage RUN chmod -R 755 /var/www/html/bootstrap/cache These are the above commands I added in my dockerfile to avoid permission error but the issue is when i run this dockerfile in my ..

Read more

When I run docker build on my codebase, it doesn’t apply the file modifications. I’m using TypeScript with Node as the language/framework. Here is my Dockerfile: #Imports the node runtime/os base image FROM node:14 #like cd into the working directory WORKDIR /usr/src/app ENV PORT 8080 #copies the package.json from the local dev machine and pastes ..

Read more

The issue has appeared recently and the previously healthy container now enters a sleep loop when a shutit session is being created. The issue occurs only on Cloud Run and not locally. Minimum reproducible code: requirements.txt Flask==2.0.1 gunicorn==20.1.0 shutit Dockerfile FROM python:3.9 # Allow statements and log messages to immediately appear in the Cloud Run ..

Read more

I want to deploy the Hyperledger DotNet Mediator Agent on GCP Cloud Run. I have the below Dockerfile. FROM streetcred/dotnet-indy:1.14.2 AS base WORKDIR /app # Expose the default port EXPOSE 5000 COPY mediator ./mediator WORKDIR mediator RUN dotnet restore "MediatorAgent.csproj" RUN dotnet build "MediatorAgent.csproj" -c Release -o ./build RUN dotnet publish "MediatorAgent.csproj" -c Release -o ..

Read more

I am very lost on the steps with gcloud verse docker. I have some gradle code that built a docker image and I see it in images like so (base) Deans-MacBook-Pro:stockstuff-all dean$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE gcr.io/prod-stock-bot/stockstuff latest b041e2925ee5 27 minutes ago 254MB I am unclear if I need to run ..

Read more