Skip to content

Commit

Permalink
feat: pós build script
Browse files Browse the repository at this point in the history
  • Loading branch information
davisilvarafacho committed Nov 11, 2024
1 parent 650fe75 commit 061c517
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ ENV PYTHONUNBUFFERED 1

COPY . .

RUN pip install -r requirements.txt

RUN python manage.py collectstatic
RUN pip install -r requirements.txt
5 changes: 5 additions & 0 deletions post-build-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python manage.py collectstatic
python manage.py makemigrations
python manage.py migrate
python manage.py reset_cachalot
python manage.py reset_axes

0 comments on commit 061c517

Please sign in to comment.