Skip to content

Commit 56b9641

Browse files
committed
Add Dockerfile and CMD to dockercompose
1 parent b3449e5 commit 56b9641

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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 "pipenv run mypy meilisearch && pipenv run pylint meilisearch && pipenv run pytest tests"
35+
docker-compose run package
3636
```
3737

3838
To install dependencies:

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ RUN apt-get update \
99
# Install pipenv and compilation dependencies
1010
RUN pip3 install pipenv
1111
RUN pipenv install --dev
12+
CMD pipenv run mypy meilisearch && pipenv run pylint meilisearch && pipenv run pytest tests

0 commit comments

Comments
 (0)