Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:2.7-slim

RUN apt update
RUN apt upgrade -y
RUN apt install -y git gcc
RUN git clone https://github.com/maK-/parameth
WORKDIR parameth
RUN pip install -r requirements.txt

ENTRYPOINT ["python", "parameth.py"]
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ virtualenv venv
pip install -u -r requirements.txt
```

## Docker

If you don't want to install dependencies on your machine, you could just use docker.

```shell
cd /path/to/parameth
docker build -t parameth .
docker run -it --rm --name parameth1 parameth
```

You can also create a shell script instead of running `docker run` all the time:

`vim /usr/bin/parameth`

```shell
#!/bin/bash
docker run -it --rm --name parameth1 $@
```

`chmod +x /usr/bin/parameth`


# Usage

Expand Down