Updated docker file to run new script file

This commit is contained in:
2024-01-01 17:52:44 +00:00
parent 59d379f657
commit ef94773b8f
6 changed files with 16 additions and 8 deletions

View File

@ -3,6 +3,4 @@ COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
COPY . /app
ENTRYPOINT [ "python" ]
RUN ["scripts/create_database.py"]
CMD ["app.py" ]
CMD ["scripts/run.sh"]