Skip to content

Commit ab86e28

Browse files
committed
website is live, testing command to collect static during pipeline build
1 parent f2689a0 commit ab86e28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ ENV HOME=/
1313
RUN mkdir /static
1414
WORKDIR $HOME
1515

16+
# collect static files
17+
RUN /bin/bash -c "python manage.py collectstatic --noinput"
18+
1619
# install dependencies
1720
RUN pip install --upgrade pip
1821
RUN pip install psycopg2
@@ -22,6 +25,4 @@ RUN pip install -r requirements.txt
2225
# copy project
2326
COPY . /
2427

25-
# collect static files
26-
RUN /bin/bash -c "python manage.py collectstatic --noinput"
2728

0 commit comments

Comments
 (0)