MVP
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andrey Gumirov
2022-05-01 01:56:47 +07:00
parent 56adc16b04
commit 80584dbaf9
6 changed files with 58 additions and 8 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM python:3.9
ENV DB_ADDR localhost:5432
ENV GROUP_ID group_id
ENV NFT_ADDR http://localhost:5001
ENV PASS pg
ENV REDIS_ADDR localhost
ENV TMP_DIR ./tmp
ENV TOKEN token
WORKDIR /app
RUN mkdir -p /app/tmp
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY . /app
CMD ["python3", "main.py"]