From 208689ccb8cb695c9a3253dc546307147de79786 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Sat, 23 Jan 2021 13:17:31 +0000 Subject: [PATCH] dockerfile update --- Dockerfile | 2 +- push_docker | 2 ++ requirements.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 push_docker diff --git a/Dockerfile b/Dockerfile index f2f3f37..6811fda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV PATH="/opt/venv/bin:$PATH" RUN apk add --no-cache --virtual .build-deps ca-certificates gcc linux-headers \ musl-dev jpeg-dev zlib-dev libffi-dev git make \ - && pip install --upgrade pip + && pip install --upgrade pip COPY ./requirements.txt /app/requirements.txt RUN pip install wheel && pip install -r requirements.txt diff --git a/push_docker b/push_docker new file mode 100755 index 0000000..7792e2d --- /dev/null +++ b/push_docker @@ -0,0 +1,2 @@ +docker tag flask-fet-fotos docker.triton2.fet.at/flask-fet-fotos +docker push docker.triton2.fet.at/flask-fet-fotos \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index d75ea1d..a5cc5e2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ flask Frozen-Flask python-environ -gevent +#gevent Pillow wheel flask_csp