Fix Dockerfile with in-Container update

This commit is contained in:
Phillip Kühne 2023-03-30 18:14:40 +02:00
parent dc53d8a8b1
commit f055a59a38
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA

View File

@ -1,5 +1,12 @@
FROM tiangolo/uwsgi-nginx-flask:python3.10 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 COPY ./backend /app
RUN pip install -r /app/requirements.txt RUN pip install -r /app/requirements.txt