Merge pull request #106 from dmunozv04/publish-pypi

Publish on pypi
This commit is contained in:
David
2023-11-29 12:06:40 +01:00
committed by GitHub
22 changed files with 87 additions and 61 deletions

View File

@@ -2,17 +2,18 @@
FROM python:3.11-alpine
ENV PIP_NO_CACHE_DIR=off iSPBTV_docker=True TERM=xterm-256color COLORTERM=truecolor
ENV PIP_NO_CACHE_DIR=off iSPBTV_docker=True iSPBTV_data_dir=data TERM=xterm-256color COLORTERM=truecolor
COPY requirements.txt .
RUN pip install --upgrade pip wheel && \
pip install -r requirements.txt
COPY requirements.txt .
WORKDIR /app
COPY . .
RUN python -m compileall
COPY src .
ENTRYPOINT ["python3", "-u", "main.py"]