feat: build tailwind for production on docker build

This commit is contained in:
2024-11-23 12:40:30 +01:00
parent 5e81db4c98
commit 45ad1f5fb0
2 changed files with 13 additions and 3 deletions
+1 -3
View File
@@ -14,9 +14,7 @@ RUN apt-get update && \
apt-get autoremove -y
COPY . /code
COPY nginx/nginx.conf /etc/nginx/sites-enabled/default
RUN python manage.py collectstatic --noinput
RUN ["sh", "scripts/build_static.sh"]
CMD [ "sh", "./scripts/run.sh" ]