diff --git a/Dockerfile b/Dockerfile index 4f7317b..b11c7f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM python:3.9-slim +RUN pip install -r requirements.txt COPY . . ENV FLASK_APP=flaskr/hello EXPOSE 5000 diff --git a/flaskr/hello.py b/flaskr/hello.py index 3fbe2f6..e19c943 100644 --- a/flaskr/hello.py +++ b/flaskr/hello.py @@ -1,3 +1,13 @@ +# https://gitlab.com/gitlab-org/gitlab/-/issues/22684 +# herokuish/AutoDevOps can't test some languages + +# Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io" +# https://stackoverflow.com/questions/61365202/nginx-ingress-service-ingress-nginx-controller-admission-not-found +# kubectl get -A ValidatingWebhookConfiguration +# kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission + + + from flask import Flask app = Flask(__name__)