Skip to content

Commit

Permalink
config: Add script to compile requirements in one container instance
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Dec 20, 2023
1 parent 2cf1ecc commit 07840d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/compile-requirements
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# Compile requirements for development and production in one container instance
docker compose run --rm server /bin/bash -c "\
pip-compile --output-file=requirements/dev.txt requirements.in/dev.txt && \
pip-compile --output-file=requirements/prod.txt requirements.in/prod.txt \
"

0 comments on commit 07840d0

Please sign in to comment.