Compil JS de taxhub dans dockerfile

This commit is contained in:
Marc Ducobu 2021-07-01 15:58:28 +02:00
parent 0ddfe09ab8
commit 3b7bc6810a
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ RUN /bin/bash create_sys_dir.sh
# Install dependencies:
RUN pip install -r requirements.txt
RUN cp static/app/constants.js.sample static/app/constants.js
RUN cd static && npm install
EXPOSE 5000
CMD ["python", "server.py ", "runserver"]