Add migration content to docker image

This commit is contained in:
Paul Bienkowski 2022-03-21 23:15:33 +01:00
parent 6126e2273b
commit d7d00ac3fd

View file

@ -87,6 +87,8 @@ ADD api/scripts /opt/obs/scripts
RUN pip install -e /opt/obs/scripts RUN pip install -e /opt/obs/scripts
ADD api/setup.py /opt/obs/api/ ADD api/setup.py /opt/obs/api/
ADD api/alembic.ini /opt/obs/api/
ADD api/migrations /opt/obs/api/migrations/
ADD api/obs /opt/obs/api/obs/ ADD api/obs /opt/obs/api/obs/
ADD api/tools /opt/obs/api/tools/ ADD api/tools /opt/obs/api/tools/
RUN pip install -e /opt/obs/api/ RUN pip install -e /opt/obs/api/