From f055a59a38234beb74fb371b2e4ed786ec85cad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Thu, 30 Mar 2023 18:14:40 +0200 Subject: [PATCH] Fix Dockerfile with in-Container update --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 47aa3bf..cc88883 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,12 @@ FROM tiangolo/uwsgi-nginx-flask:python3.10 +RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db +RUN curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash + +RUN apt-get update +RUN apt-get upgrade -y +RUN apt-get dist-upgrade + COPY ./backend /app RUN pip install -r /app/requirements.txt \ No newline at end of file