From e00c40d4572af9c51eea9d19d143dd119d207d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 4 Sep 2020 18:12:24 +0200 Subject: [PATCH] Combine RUNs to reduce layers --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e4d1f9f..9c7fac7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,9 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . -RUN flask db init -RUN flask db migrate -RUN flask db upgrade +RUN flask db init \ + && flask db migrate\ + && flask db upgrade CMD flask run --host 0.0.0.0 EXPOSE 5000