Created
November 29, 2019 20:16
-
-
Save tomviner/28b4496dbac06d0776536c1fe5785c02 to your computer and use it in GitHub Desktop.
Compile requirements in docker container - to force Linux platform.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
build-reqs: | |
build: | |
context: . | |
volumes: | |
- .:/reqs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.7-slim-stretch AS builder | |
RUN python -m pip install -U pip setuptools wheel pip-tools | |
CMD ["/reqs/compile-all.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment