https://github.com/hardbyte/python3-docker
A docker machine configured for Python 3
https://github.com/hardbyte/python3-docker
Last synced: about 1 month ago
JSON representation
A docker machine configured for Python 3
- Host: GitHub
- URL: https://github.com/hardbyte/python3-docker
- Owner: hardbyte
- Created: 2014-06-16T03:11:48.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-04-29T01:28:21.000Z (almost 11 years ago)
- Last Synced: 2025-10-12T05:07:23.666Z (6 months ago)
- Size: 191 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
An image that is able to build Python3 packages numpy, scipy and cryptography
from source.
Image includes `build essential` as well as `wget`, `curl`, `git` and `python3.4`.
All dependencies for building an optimized version of `numpy` such as `gfortran`
are included as well.
Python 3 modules installed:
- pip,
- virtualenv
## Direct use:
```
docker pull hardbyte/python3
docker run -it hardbyte/python3 /bin/bash
```
## Inheriting Example
Create a dockerfile in your Python application directory
```
FROM hardbyte/python3
WORKDIR /app
ADD . /app
RUN pip install --upgrade -r /app/requirements.txt
EXPOSE 8080
CMD []
ENTRYPOINT ["python3.4", "/app/main.py"]
```
Also see [hardbyte/python3-app](https://registry.hub.docker.com/u/hardbyte/python3-app/)
for a repository to Dockerize standard Python applications.