Skip to content

Commit 1311868

Browse files
committed
Add docker-compose python
1 parent 035e889 commit 1311868

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can set up your local environment natively or using `docker`, check out the
3232

3333
Example of running all the checks with docker:
3434
```bash
35-
docker-compose run --rm package bash -c "list of the commands required to build + run tests + run linters"
35+
docker-compose run --rm package bash -c "pip3 install pipenv && pipenv install --dev && pipenv run mypy meilisearch && pipenv run pylint meilisearch"
3636
```
3737

3838
To install dependencies:

docker-compose.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
version: "3.8"
22

3-
# remove this line if you don't need a volume to map your dependencies
4-
# volumes:
5-
# bundle:
6-
73
services:
84
package:
9-
image: language-name:version
5+
image: python:3.8.4-buster
106
tty: true
117
stdin_open: true
128
working_dir: /home/package
@@ -18,7 +14,6 @@ services:
1814
links:
1915
- meilisearch
2016
volumes:
21-
# - bundle:/vendor/bundle
2217
- ./:/home/package
2318

2419
meilisearch:

0 commit comments

Comments
 (0)