35 lines
333 B
Markdown
Executable File
35 lines
333 B
Markdown
Executable File
# SETUP
|
|
|
|
## 1. module
|
|
|
|
```bash
|
|
pip install -e .
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## 1. docker image
|
|
|
|
```bash
|
|
docker build -f Dockerfile -t pyinfra .
|
|
```
|
|
|
|
# RUN
|
|
|
|
## 2. rabbitmq & minio
|
|
|
|
```bash
|
|
docker-compose up
|
|
```
|
|
|
|
## 3. module
|
|
|
|
```bash
|
|
python src/serve.py
|
|
```
|
|
|
|
## 3. docker container
|
|
|
|
```bash
|
|
docker run --net=host pyinfra
|
|
```
|