Relative Content

Tag Archive for dockerdocker-composedockerfile

Docker not reading API key in .env file

Description I am trying to deploy my Flask web app to Google Cloud Run, but the Docker is not reading the .env file containing the Gemini API key. The following image is my project directory. Dockerfile FROM python:3.11-slim ENV PYTHONUNBUFFERED True ENV APP_HOME /app WORKDIR $APP_HOME COPY . ./ # Install production dependencies. RUN pip […]

Image not loading with Docker

The image loads fine when running the aplication in my machine, but not when running with Docker. What am I doing wrong?