Created
January 26, 2021 11:13
-
-
Save oivoodoo/6fb1588a78d5ac255bf3ae7afd7be6ef to your computer and use it in GitHub Desktop.
Python package via Docker environment
This file contains hidden or 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
version: "3" | |
services: | |
console: | |
build: . | |
volumes: | |
- pip-data:/root/.local/share/virtualenvs | |
- ./:/app:cached | |
command: /bin/bash | |
release: | |
build: . | |
volumes: | |
- pip-data:/root/.local/share/virtualenvs | |
- ./:/app:cached | |
command: /bin/bash -c "cd /app ; pipenv install ; pipenv run python setup.py sdist" | |
volumes: | |
pip-data: |
This file contains hidden or 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.6.6 | |
RUN pip install --upgrade pip && pip install pipenv | |
WORKDIR /app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment