Skip to content

Commit 334f825

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

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
version: "3.8"
22

33
# remove this line if you don't need a volume to map your dependencies
4-
# volumes:
5-
# bundle:
64

75
services:
86
package:
9-
image: language-name:version
7+
image: python:3.8.4-buster
108
tty: true
119
stdin_open: true
1210
working_dir: /home/package
@@ -18,7 +16,6 @@ services:
1816
links:
1917
- meilisearch
2018
volumes:
21-
# - bundle:/vendor/bundle
2219
- ./:/home/package
2320

2421
meilisearch:

0 commit comments

Comments
 (0)