Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakovri committed Apr 25, 2024
1 parent 97551cf commit 8c99a40
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8c99a40

Please sign in to comment.