From 8c99a402827cbcf695eedffc8b9d7372b2e9d0b7 Mon Sep 17 00:00:00 2001 From: Roman Dyakov Date: Thu, 25 Apr 2024 21:14:45 +0300 Subject: [PATCH] Dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 82110df..81d3b1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,7 @@ RUN pip install --no-cache-dir -U -r /app/requirements.txt COPY ./alembic.ini /alembic.ini COPY ./migrations /migrations/ -RUN echo '#!/bin/bash \n\ -\n\ -alembic upgrade head' > /app/prestart.sh \ +RUN echo '#!/bin/bash\n\nalembic upgrade head' > /app/prestart.sh \ && chmod +x /app/prestart.sh COPY . /app