I am able to deploy docker on app engine for flask application. Dockerfile looks like below:
FROM python:3.7-slim
LABEL maintainer = "Prasad Dalavi prasad01dalavi@gmail.com"
COPY . .
RUN pip3 install -r requirements.txt
EXPOSE 8080
ENTRYPOINT ["python3", "main.py"]
and app.yaml like below:
runtime: custom
env: flex
when I create directories in flask static folder, I want to map them to gcp bucket. What exactly I need to do. I took reference of following link but could not understand.
Docker build failing when using gcsfuse to mount google storage
They are mounting the volume. I wanted to bind it like
docker run -d -v gcp_bucket:container_directory -p 8080:8080 docker_image