Update Dockerfile

This commit is contained in:
omg-xtao 2023-02-11 00:10:38 +08:00 committed by GitHub
parent 73ce1a1e44
commit 0040a78a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,4 +35,4 @@ RUN echo "deb http://ftp.us.debian.org/debian buster main non-free" >> /etc/apt/
# Add the wait script to the image # Add the wait script to the image
&& wget -O /wait https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait \ && wget -O /wait https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait \
&& chmod +x /wait && chmod +x /wait
ENTRYPOINT /wait && /app/venv/bin/python run.py ENTRYPOINT /wait && venv/bin/alembic upgrade head && venv/bin/python run.py