Skip to content

Commit 5c93ba0

Browse files
author
Topi Paavilainen
committed
assetgen added to start.sh to make development easier
1 parent c1bcfc6 commit 5c93ba0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ COPY requirements.txt /opt/app/
3333
RUN apt-get install -y libffi-dev && pip install -r requirements.txt
3434

3535
COPY . /opt/app/
36-
RUN npm install
36+
RUN npm install && ln -s /opt/app/node_modules/less/bin/lessc /usr/bin/
3737

3838
### POSTGRES ###
3939

docker/start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
./manage.py migrate --noinput &&\
55
./manage.py datamigrate &&\
66
./manage.py collectstatic --noinput
7-
87
/etc/init.d/postgresql stop
98

9+
assetgen --profile dev assetgen.yaml
10+
1011
/usr/bin/supervisord -c /etc/supervisor/supervisord.conf

0 commit comments

Comments
 (0)