|
|
hace 10 años | |
|---|---|---|
| bin | hace 10 años | |
| compose | hace 10 años | |
| contrib | hace 11 años | |
| docs | hace 10 años | |
| script | hace 10 años | |
| tests | hace 10 años | |
| .dockerignore | hace 11 años | |
| .gitignore | hace 10 años | |
| CHANGES.md | hace 11 años | |
| CONTRIBUTING.md | hace 10 años | |
| Dockerfile | hace 10 años | |
| LICENSE | hace 11 años | |
| MAINTAINERS | hace 11 años | |
| MANIFEST.in | hace 11 años | |
| README.md | hace 10 años | |
| ROADMAP.md | hace 10 años | |
| requirements-dev.txt | hace 11 años | |
| requirements.txt | hace 11 años | |
| setup.py | hace 10 años | |
| tox.ini | hace 11 años | |
| wercker.yml | hace 11 años |
Fast, isolated development environments using Docker.
Define your app's environment with Docker so it can be reproduced anywhere:
FROM python:2.7
ADD . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD python app.py
Define the services that make up your app so they can be run together in an isolated environment:
web:
build: .
links:
- db
ports:
- "8000:8000"
- "49100:22"
db:
image: postgres
(No more installing Postgres on your laptop!)
Then type docker-compose up, and Compose will start and run your entire app.
There are commands to:
Full documentation is available on Fig's website.