I've got a python 3.6 application I deploy to the flexible environment. It uses a Dockerfile, which is in the same directory as app.yaml.
Last week, it was using the Dockerfile correctly. Now, when I gcloud app deploy, it looks like it's ignoring the Dockerfile and instead uploading all files to Google Cloud Storage, just like it does in the standard environment. I believe I updated gsutil and or/gcloud last week. I'm on ubuntu 18.04.4 LTS
Is there something in the new gsutil that ignores the Dockerfile? I'm currently running:
Google Cloud SDK 280.0.0
alpha 2020.02.07
app-engine-python 1.9.88
app-engine-python-extras 1.9.88
beta 2020.02.07
bq 2.0.53
cloud-datastore-emulator 2.1.0
core 2020.02.07
gsutil 4.47
kubectl 2020.02.07
Here's my Dockerfile:
FROM gcr.io/google-appengine/python
RUN apt-get update && apt-get install -y \
binutils \
gdal-bin \
python-gdal
RUN virtualenv /env -p python3.6
ENV VIRTUAL_ENV /env
ENV PATH /env/bin:$PATH
ADD requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
ADD . /app
CMD gunicorn -b :$PORT mysite.wsgi
Many thanks for any hlep,
Dan Cogswell