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

View File

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